Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UIWebView respond to "Dynamic Type", iPad's text size settings

I have a embedded Cordova UIWebView within an iOS app. I have used bootstrap for to make the html pages responsive. Now i want to make the text on the web view respond to the dynamic text size settings of iPad. I have tried using "-apple-system-font", but this doesn't work.

like image 465
Saleh Avatar asked Sep 30 '22 10:09

Saleh


1 Answers

Know this is really late, but this has been working for me. You may want to use -apple-system-body rather than -apple-system-font. There's a number of font choices that can be found on the What's New in Safari page.

like image 172
Chris Mills Avatar answered Oct 02 '22 15:10

Chris Mills