mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
[SocialAppLayout example] update to use ASTextNode's passthroughNonlinkTouches property
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -89,6 +89,7 @@
|
|||||||
_postNode.userInteractionEnabled = YES;
|
_postNode.userInteractionEnabled = YES;
|
||||||
_postNode.linkAttributeNames = @[ kLinkAttributeName ];
|
_postNode.linkAttributeNames = @[ kLinkAttributeName ];
|
||||||
_postNode.attributedString = attrString;
|
_postNode.attributedString = attrString;
|
||||||
|
_postNode.passthroughNonlinkTouches = YES; // passes touches through when they aren't on a link
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user