UIWebView responds to "Dynamic Type", iPad text size settings

I have a built-in Cordova UIWebView interface in an iOS app. I used bootstrap to make html pages responsive. Now I want the text in the web view to match the dynamic text size settings of the iPad. I tried using "-apple-system-font", but this does not work.

+5
source share
2 answers

Know that it is really late, but it works for me. You can use -apple-system-body rather than -apple-system-font . There are a number of font options that can be found on the What New in Safari page.

+4
source
0
source

Source: https://habr.com/ru/post/1206769/


All Articles