mirror of
https://github.com/zhigang1992/CCHLinkTextView.git
synced 2026-04-23 19:50:07 +08:00
Ignore touches outside of links to make scroll view handle them
This commit is contained in:
@@ -44,22 +44,11 @@
|
||||
NSLog(@"Link tapped");
|
||||
}
|
||||
|
||||
- (void)linkTextViewDidTap:(CCHLinkTextView *)linkTextView
|
||||
{
|
||||
NSLog(@"Tap");
|
||||
[self performSegueWithIdentifier:@"tableViewToDetail" sender:self];
|
||||
}
|
||||
|
||||
- (void)linkTextView:(CCHLinkTextView *)linkTextView didLongPressLinkAtCharacterIndex:(NSUInteger)characterIndex
|
||||
{
|
||||
NSLog(@"Link long pressed");
|
||||
}
|
||||
|
||||
- (void)linkTextViewDidLongPress:(CCHLinkTextView *)linkTextView
|
||||
{
|
||||
NSLog(@"Long press");
|
||||
}
|
||||
|
||||
#pragma mark - NSLinkAttributeName solution
|
||||
|
||||
- (void)setUpStandardTextView:(TextView *)standardTextView
|
||||
|
||||
Reference in New Issue
Block a user