-
Notifications
You must be signed in to change notification settings - Fork 34
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
[ios 7][label] App crash with text align and links #22
Comments
You could please paste an example Label object which I can test? Also, to what type of view did you add it to(Window, View, etc)? Cheers, On Tue, Oct 8, 2013 at 8:33 PM, Michele Antonaci notifications@github.com
|
Below there is a snippet of code, in this example, the underline is not displayed. I add it on a ScrollableView.
Regards, |
Can you please try the following, by replacing your attributedText prop with this one?
Also, if possible, I'd recommend using the
|
It's work, but for some reason sometimes crash. Below, the full stack trace:
|
Ah! Happens when you tap a link? This is a known bug and I'm trying to find a fix for this. Cheers, On Fri, Oct 25, 2013 at 2:09 PM, Michele Antonaci
|
Even when i tap a label that haven't a link. Maybe, i found a work around by setting tocuhEnabled false on Label (if isn't a link). Regards, |
Having the same crashes when click events are on a label. Getting the same error as above. 'Terminating app due to uncaught exception 'NSRangeException', reason: 'NSMutableRLEArray objectAtIndex:effectiveRange:: Out of bounds' I'm using NappUI module to add drop shadow to a view in another window but still crashes on the label with the click event. But I guess NappUI takes over default titanium UI. Anyway, hope this helps with figuring out a fix for this bug. Thanks for an awesome module! |
@dezinezync should we remove this feature, since its supported by appcelerator now ? |
Yes please. I have another implementation in place which I shall release once stable in it's own repo. Thanks. |
try 1.2.3 |
Thanks for the update guys! |
If you set text align (in my case Ti.UI.TEXT_ALIGNMENT_CENTER) and more links app crash on iOS 7.
The text was updated successfully, but these errors were encountered: