How to set content offset and content size in a UIWebView

前端 未结 5 2221
抹茶落季
抹茶落季 2020-12-05 14:48

I have had to change a UIScrollView into a UIWebView due to formatting reasons.

There is a problem though that I need to be able to get the

5条回答
  •  生来不讨喜
    2020-12-05 15:42

    Now you can ask for the contentSize property of the scrollView property of a UIWebView. This enables you to also change the content size of that web view, using CGSizeMake (width, height).

提交回复
热议问题