Saturday, September 28, 2013

[IOS development] UIWebView horizontal and vertical screen size is not correct the problem solved

UIWebview from horizontal to vertical screen screen screen size does not appear correctly, from portrait to landscape no problem.
A better solution.
Html page loaded in UIWebview add the following tag:
content = width = device-width page size is set to the current width of the device, or you can manually set into the other width.
user-scalable is the ability to allow users to control page zoom controls.
These tags can be solved together with horizontal and vertical screen size is not correct.

Reply:
Add custom adapter properties for the UIWebview

No comments:

Post a Comment