When working with iOS 8, I began to see the following exception from the depth of UIWebView :
[WebActionDisablingCalayerDelegate setBeingRemoved:]: unrecognized selector sent to instance 0x167ee900
* WebKit canceled the uncaught exception in webView: willRemoveScrollingLayer: withContentsLayer: forNode: delegate: - [WebActionDisablingCalayerDelegate setBeingRemoved:
This happens when I change some restrictions on my UIWebView and then call:
self.webViewWidthConstraints.constant = newWidth; [self.webView setNeedsLayout]; [self.webView layoutIfNeeded];
(This means that the content of the webview is re-rendered so that it matches its width).
Fortunately, the exception is thrown, so the application does not crash. Why is this happening, and is there a way to prevent this?
ios objective-c ios8 uiwebview
Arie Litovsky Sep 17 '14 at 15:06 2014-09-17 15:06
source share