Add option to pass through touches to non-link text (disabled by default.)

This commit is contained in:
Ethan Nagel
2015-04-27 17:59:59 -07:00
parent 1316389f10
commit a0ec62b282
2 changed files with 32 additions and 0 deletions

View File

@@ -192,6 +192,11 @@ typedef NS_ENUM(NSUInteger, ASTextNodeHighlightStyle) {
*/
@property (nonatomic, assign) BOOL longPressCancelsTouches;
/**
@abstract if YES will not intercept touches for non-link areas of the text. Default is NO.
*/
@property (nonatomic, assign) BOOL passthroughNonlinkTouches;
@end