Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash when displaying content with link #34

Merged
merged 1 commit into from
Jan 13, 2020

Conversation

robinspeijer
Copy link
Contributor

@robinspeijer robinspeijer commented Jan 9, 2020

Although UIKit expects the underlinestyle attribute to have a value of type NSNumber, it was set to an empty array here. This bug lead to CoreText crashes inside TTTAttributedLabel for some text content.

fixes #32

@robinspeijer robinspeijer merged commit 8b85537 into master Jan 13, 2020
@robinspeijer robinspeijer deleted the feature/fix-link-attributes branch January 13, 2020 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TTTAttributedLabel crash when calculating size for some content
2 participants