Skip to content

Commit df64c99

Browse files
committed
New iOS check
1 parent 2f40ba2 commit df64c99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QueueITLib/QueueITWKViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ - (void)webView:(WKWebView*)webView decidePolicyForNavigationAction:(nonnull WKN
9292
}
9393
}
9494
if (navigationAction.navigationType == WKNavigationTypeLinkActivated && !isQueueUrl) {
95-
if ([[UIApplication sharedApplication] respondsToSelector:@selector(openURL:options:completionHandler:)]) {
95+
if (@available(iOS 10.0, *)) {
9696
[[UIApplication sharedApplication] openURL:[request URL] options:@{} completionHandler:nil];
9797
}
9898
else {

0 commit comments

Comments
 (0)