iOS Question The Htlm display differs between Android and iOS.

Filippo

Expert
Licensed User
Longtime User
Hi,

I use a webview to display the same HTML file in an Android app and an iOS app.
However, the font size is not displayed the same.
On Android, the size of the normal and bold font looks the same, but not on iOS, why?
Is there a solution to this problem?

Android:


iOS:
 

Filippo

Expert
Licensed User
Longtime User
Ok, I have now tried it in vertical mode and the font looks fine.
So the problem seems to be only in the horizontal alignment, but why?
 
Upvote 0

Filippo

Expert
Licensed User
Longtime User
Thank you very much @Alex_197 .
That would also be a solution, but unfortunately I would then have to adapt the file for the vertical alignment.

I would also have to adapt the file for Android and iPad, the effort would be too great, I'll leave it as it is now.

Thanks again.
 
Upvote 0

Alex_197

Well-Known Member
Licensed User
Longtime User
my solution works for vertical and horizontal, also works for vertical and horizontal for Android. It's just a CSS style.

Also read about css media query min and max width
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…