2

updating my code from UIWebView to WKWebview but having this error on my delegate methods

Nullability specifier 'nonnull' conflicts with existing specifier 'null_unspecified'

here is my code an showing this error on navigation

- (void)webView:(WKWebView *)webView didCommitNavigation:(WKNavigation *)navigation{
  // Show & animate the activity indicator.
  _webView.spinner.hidden = NO;
  [_webView.spinner startAnimating];
}
Cœur
  • 37,241
  • 25
  • 195
  • 267
Vix Hunk
  • 303
  • 4
  • 17

1 Answers1

1

It looks like you redeclare somewhere this delegate method, probably in delegate header, so find it and use as original

- (void)webView:(WKWebView *)webView didCommitNavigation:(null_unspecified WKNavigation *)navigation;
Asperi
  • 228,894
  • 20
  • 464
  • 690