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

New Line Characters on arm64? #19

Open
MattFoley opened this issue Feb 9, 2014 · 2 comments
Open

New Line Characters on arm64? #19

MattFoley opened this issue Feb 9, 2014 · 2 comments

Comments

@MattFoley
Copy link

Hi, it seems like only on arm64 devices, and not on the arm64 simulator, '\n's are never correctly interpreted when sizing or counting lines. On all other devices I've tried and simulators, FXLabels that I include '\n' on are always sized correctly, but on my 5S they are cut off with a ellipsis.

Example string being "Alarm was\n12 hours ago", is truncated to "Alarm..." or "Alarm was..." instead of a two line label. Any ideas?

Thanks for all the work Nick, I really appreciate the Open Source work you've done.

Tj-

@MattFoley
Copy link
Author

I should mention that this happens when I use someFXLabel.text = @"some Text \n with a new line"

@nicklockwood
Copy link
Owner

What value are you using for the lineCount?

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

No branches or pull requests

2 participants