AMAttributedHighlightLabel icon indicating copy to clipboard operation
AMAttributedHighlightLabel copied to clipboard

AMAttributedHighlightLabel and Purelayout

Open cisnky opened this issue 11 years ago • 4 comments

All the resizing works ok, but the clicking of a mention, hashtag or url only works on the first line. I've checked the label background and that is correct the height.

Does AMAttributedHighlightLabel have any known issues with Purelayout?

Thanks in advance.

cisnky avatar Dec 09 '14 07:12 cisnky

I'm using line break mode - NSLineBreakByWordWrapping

cisnky avatar Dec 09 '14 07:12 cisnky

I have also found this to be the case when using regular auto layout.... sometimes. If i have a a multi line label, sometimes the links are only tappable in the 1st line, sometimes i can tap a normal piece of text and the linked word will highlight.... its like the touch areas get a bit confused! Any ideas on this? Thanks

Jellyfishinatrifle avatar Mar 24 '15 10:03 Jellyfishinatrifle

@Jellyfishinatrifle I think it had something to do with the parent views height not being set during autolayout.

I was on a tight deadline so I switched to STTweetLabel. https://github.com/SebastienThiebaud/STTweetLabel

cisnky avatar Mar 24 '15 11:03 cisnky

@cisnky Thanks, Im switching to TTAttributedLabel as I don't think STTweet supports auto layout.

Jellyfishinatrifle avatar Apr 01 '15 14:04 Jellyfishinatrifle

Thanks for closing this issue :D

rootd avatar Jan 15 '23 14:01 rootd