I have an application that relies on UIWebViews for some of its screens, but starting with iOS 8 I began to notice that the following exception sometimes occurs:
WebKit canceled the uncaught exception in webView: willRemoveScrollingLayer: withContentsLayer: forNode: delegate: <NSInvalidArgumentException> - [WebActionDisablingCalayerDelegate setBeingRemoved:]: unrecognized selector sent to the instance (...)
This usually happens in response to a button click or link to a web view (without anything else on the Objective-C side), and after that most of the functions in the web browser will be broken (links are not accessible for clicks, etc. )
I have seen at least one more question related to this error message, but there are no definitive answers yet.
Has anyone encountered this problem and found out what is wrong / what causes it? It seems to be completely dependent on the HTML content, which means that the fact that this exception is thrown is an iOS 8 bug.
ios ios8 webkit uiwebview
André morujão
source share