AttributedTextView
AttributedTextView copied to clipboard
why not make makeInteract supported in UILabel?
why not make makeInteract supported in UILabel? Can we extend it? or you planing to do so?
The makeInteract is using the UITextViewDelegate shouldInteractWith function. That delegate only works on a UITextView. I don't think there is similar standard functionality available for a UILabel. But then... why not change the label to a textview?
Op 4 apr. 2017 8:02 p.m. schreef "Jinkeycode" [email protected]:
why not make makeInteract supported in UILabel? Can we extend it? or you planing to do so?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/evermeer/AttributedTextView/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AAH_EtYDiPoWWImCw-sHI_s-DCKw-84iks5rsoV9gaJpZM4MzN-Z .
@evermeer Because UITextView can not be automatically calculated height via storyboard in UITableview
There might be a workaround for this. I will put this on my todo list.
Implementation details are available at: http://stackoverflow.com/questions/1256887/create-tap-able-links-in-the-nsattributedstring-of-a-uilabel