Showing hidden view really slow

后端 未结 3 950
情书的邮戳
情书的邮戳 2021-01-14 17:15

I have a setup as such:

self.webView = WKWebView(frame: frame, configuration: WKWebViewConfiguration())
self.externView = UIView(frame: frame)
self.externWeb         


        
3条回答
  •  心在旅途
    2021-01-14 17:42

    Swift 3:

    DispatchQueue.global(qos: .background).async {
       DispatchQueue.main.async {
       // enter code here
       }
    }
    

提交回复
热议问题