EXC_BAD_ACCESS (SIGSEGV) in WebCore::UserGestureIndicator::processingUserGesture EXC_BAD_ACCESS (SIGSEGV) in WebCore::UserGestureIndicator::processingUserGesture ios ios

EXC_BAD_ACCESS (SIGSEGV) in WebCore::UserGestureIndicator::processingUserGesture


In My Case, I have similar issue.

WebView Crash

As Many of said, it may cause due to WebView Delegate methods are calling while webview is being deallocated.

In order to fix, we need to set delegate as nil and also stop webview request at specified methods

You have to add below lines of code

-(void)viewDidUnload{    [super viewDidUnload];    webViewRef.delegate = nil;    [webViewRef stopLoading];}-(void)backBtnClicked{    webViewRef.delegate = nil;    [webViewRef stopLoading];}

Hope it helps you.