崩溃信息:An instance 0x13a23d1a0 of class WKWebView was deallocated while key value observers were still registered with it. Current observation info:...
我这边是对WKWebview添加了KVO,在dealloc中移除observer时有时会崩溃,就像这样:,这时将WKWebview的两个代理置为nil即可,就像这样:
崩溃信息:An instance 0x13a23d1a0 of class WKWebView was deallocated while key value observers were still registered with it. Current observation info:...
我这边是对WKWebview添加了KVO,在dealloc中移除observer时有时会崩溃,就像这样:,这时将WKWebview的两个代理置为nil即可,就像这样: