uiwebview - How to calculate web view content height in iOS? -


I need to resize the web view frame according to the height of the content. I need to calculate the height of the content. is.

This is the solution I use

  NSUntiger contentHight = [[Webview StringBevilingJavascriptFormString: [NSSTING stringWaterFormat: @ "Document.com.Sworldite;"]] interview];   

All possible content in your webview should be smaller than the size

Comments

Popular posts from this blog

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

c# - The item with identity 'Id' already exists in the metadata collection. Parameter name: item -

c++ - Redefined variable in the other module -