Deferring viewWillAppear until webViewDidFinishLoad

后端 未结 2 1896
我在风中等你
我在风中等你 2021-02-15 10:43

I have an application that uses UIWebViews in several view controllers. The UIWebViews are used to render locally generated html, no slow network acce

2条回答
  •  我在风中等你
    2021-02-15 11:17

    I like monowerker's solution best, but another solution would be to hold onto the already-rendered UIWebView all the time (in some more permanent object than the view controller). I'd only do that if the look of monowerker's solution is too disruptive.

提交回复
热议问题