Rendering a UIWebView into an ImageContext

前端 未结 6 1139
伪装坚强ぢ
伪装坚强ぢ 2020-12-14 12:33

I am trying to capture the contents of a UIWebView including that which is not visible to the user. i.e. The whole web page even though the user is only looking at the top.<

6条回答
  •  Happy的楠姐
    2020-12-14 13:01

    All UIViews have a size limit of 1024x1024, so you will probably have programmatically scroll, capture the page in chunks, and stitch them together somehow.

提交回复
热议问题