fix(WKWebView): iOS crash when WebView's title is nil (#521)
This commit is contained in:
parent
24be864ceb
commit
7a91221926
|
@ -460,7 +460,7 @@ static NSURLCredential* clientAuthenticationCredential;
|
|||
{
|
||||
NSDictionary *event = @{
|
||||
@"url": _webView.URL.absoluteString ?: @"",
|
||||
@"title": _webView.title,
|
||||
@"title": _webView.title ?: @"",
|
||||
@"loading" : @(_webView.loading),
|
||||
@"canGoBack": @(_webView.canGoBack),
|
||||
@"canGoForward" : @(_webView.canGoForward)
|
||||
|
|
Loading…
Reference in New Issue