Hi there,
That’s as simple as the title says. I’ve a multi-line centered text running properly on the simulator, but not on device
Any advice?
Hi there,
That’s as simple as the title says. I’ve a multi-line centered text running properly on the simulator, but not on device
Any advice?
Have you tried different fonts? Also maybe the device is wrapping the text in different position than simulator and something is going wrong there. How do you determine the width of the text. Are you setting width so it auto wraps or are you setting line breaks in text?
Nope, haven’t tried other fonts yet. The app is for iPad2 only, and the simulator device is an iPad too, and are similar except for a couple of center-aligned texts. Texts’ widths are determined by the 10% of the screen width. The texts are auto-wrapped, but I’m going to try using a line break…
Paste code
No need, using line breaks works like a charm
thx!
Have you tried different fonts? Also maybe the device is wrapping the text in different position than simulator and something is going wrong there. How do you determine the width of the text. Are you setting width so it auto wraps or are you setting line breaks in text?
Nope, haven’t tried other fonts yet. The app is for iPad2 only, and the simulator device is an iPad too, and are similar except for a couple of center-aligned texts. Texts’ widths are determined by the 10% of the screen width. The texts are auto-wrapped, but I’m going to try using a line break…
Paste code
No need, using line breaks works like a charm
thx!