WKWebView crashes in acceleratedAnimationDidStart WKWebView crashes in acceleratedAnimationDidStart ios ios

WKWebView crashes in acceleratedAnimationDidStart


You should create the webView in the main thread

- (void)createWebView{    if (![NSThread isMainThread]) {        dispatch_async(dispatch_get_main_queue(), ^{            [self createWebView];        });        return;    }    self.webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 320, 320)];    //Rest of my code}


matomo