Skip to content
New issue

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

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

Already on GitHub? # to your account

Completely broken on iOS 7 #5

Closed
rhysforyou opened this issue Sep 3, 2013 · 2 comments
Closed

Completely broken on iOS 7 #5

rhysforyou opened this issue Sep 3, 2013 · 2 comments

Comments

@rhysforyou
Copy link
Owner

For whatever reason, iOS 7 doesn't seem to like this code one bit. It doesn't crash or anything, but for whatever reason the resulting attributed string, despite containing all the right text and attributes, doesn't draw.

My hunch here is that maybe the keys used to identify text attributes may have changed in iOS 7, but I'll look into it further this afternoon.

@rhysforyou
Copy link
Owner Author

This does highlight the fact that font handling needs to be better. Right now to change the font for a given scope, you have to include at least the font name and size, which is more verbose than you'd want to be if you just wanted it to be italic.

@RonSkons
Copy link

i have tried using this library. crashes on ios 8.

2014-09-21 11:13:37.159 MobileCode[426:190386] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'data parameter is nil'
*** First throw call stack:
(0x23afaf87 0x3152dc77 0x23afaecd 0x247a7f6b 0x96a9b 0x9729b 0x94fd5 0x26fa9977 0x26fa9919 0x26f9451d 0x26fa9349 0x26f6e177 0x23ac1845 0x23abef29 0x23abf32b 0x23a0cdb1 0x23a0cbc3 0x2ad6e051 0x26fd7f01 0x971d5 0x31ac9aaf)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants