ZSWTappableLabel
ZSWTappableLabel copied to clipboard
UILabel subclass for links which are tappable, long-pressable, 3D Touchable, and VoiceOverable.
This is kind of a one off exception that only happened a few times on some devices. I can't reproduce it: ``` Crashed: com.apple.main-thread 0 CoreText 0x1aae05ca4 TGlyphEncoder::RunUnicodeEncoderRecursively(unsigned int, TCFRef&&,...
Doesn't support number of lines as the UILabel
``` // p { NSMutableParagraphStyle * ps = [[NSMutableParagraphStyle alloc] init]; [ps setLineHeightMultiple:1.1]; [ps setLineBreakMode:NSLineBreakByTruncatingTail]; NSDictionary * a = @{ NSFontAttributeName: [UIFont systemFontOfSize:self.newsTitleLabel.font.pointSize], NSForegroundColorAttributeName: textColor, NSParagraphStyleAttributeName: ps }; [options setAttributes:a...
When large text is there then ellipses is not showing for ZSWTappableLabel but same is working for UILable. Please help me out here.
...by adding an xcode project.
- Tapping on links at end of lines (tricky bugs have happened here) - Tapping on multiple links within strings - Tapping on multiple links in multiple lines - Long...