Discussion Forums  >  WebViews and HTML for Mobile

Replies: 1    Views: 283

Aspiring developer
Posts: 841
Reg: Nov 03, 2010
Medford, MA
03/09/14 04:59 PM (9 years ago)

How to prevent font size change with device rotation?

I apologize if this has been asked already, can't find an answer. As the way my iOS app is now the font size is perfect in portrait but when the device is rotated to landscape the font size increases so that the amount of letters per line is the same as in portrait. Is there a way to prevent this? I'm using the html pro plugin. Thanks!
Niraj Shah
buzztouch Evangelist
Posts: 2942
Reg: Jul 11, 2012
03/09/14 06:55 PM (9 years ago)
Perhaps use two different CSS Style sheets combined with rotation detection. Lots of variants on that ... I am assuming you are displaying HTML.

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.