resizing a web page frame is not entirely correct here. The LoadFinished handler is triggered when the load request [uiwebview loadRequest:] completes successfully and does not mean that the completion of your HTML content (DOM) is complete. There may be a few notes:
1 - make sure you include the view port tag in your HTML design to preserve the filling aspect. (in the head)
<meta name="viewport" content="width=device-width, user-scalable=no">
2 - check the contents of the contents of the UIWebView interface (the default scale is the default). Also check incremental incremental rendering if necessary (depends on your design)
3 - It is almost impossible to catch when Dom elements are loaded and displayed in HTML. perhaps you can include some bootloader with a timeout there (do not forget to clear it when you unload the page)
4 - If you have some CSS standards for your design, you may need to consider the 100% width of the elements to fill the page.
5 - if you use autostart, just fix the UIWebview frame, and do not process the WebViewFrame with every hit.
What can I come up with, Good luck.
Vendetta turkey
source share