Skip to content

Commit

Permalink
chore: make code compile on Xcode 11
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile committed Aug 29, 2023
1 parent 6e71f54 commit 1f98607
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,11 @@ - (WKWebViewConfiguration*) createConfigurationFromSettings:(NSDictionary*)setti

}

#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 140000
if (@available(iOS 14.0, *)) {
configuration.limitsNavigationsToAppBoundDomains = [settings cordovaBoolSettingForKey:@"LimitsNavigationsToAppBoundDomains" defaultValue:NO];
}
#endif

return configuration;
}
Expand Down

0 comments on commit 1f98607

Please sign in to comment.