How does one Print all WKWebView On AND Offscreen content OSX and iOS

前端 未结 4 1039
予麋鹿
予麋鹿 2020-12-08 10:13

This question is about printing ALL content (including off screen content) of WKWebView. Currently (still, as of iOS 10.2 or OSX 10.12) there is NO working solution

4条回答
  •  南笙
    南笙 (楼主)
    2020-12-08 10:27

    I have exhausted every possible way to print the WKWebView directly with no success. The only workaround I can think of would be to convert the web page to a PDF object and then print said object. I will update with code if I get the workaround to work.

提交回复
热议问题