diff --git a/Classes/ObjectExplorers/Sections/Shortcuts/FLEXUIAppShortcuts.m b/Classes/ObjectExplorers/Sections/Shortcuts/FLEXUIAppShortcuts.m index 7946645f4..3f5b7e711 100644 --- a/Classes/ObjectExplorers/Sections/Shortcuts/FLEXUIAppShortcuts.m +++ b/Classes/ObjectExplorers/Sections/Shortcuts/FLEXUIAppShortcuts.m @@ -54,20 +54,16 @@ + (void)openURL:(NSString *)urlString NSURL *url = [NSURL URLWithString:urlString]; if (url) { - if (@available(iOS 10, *)) { - [app openURL:url options:@{ - UIApplicationOpenURLOptionUniversalLinksOnly: @(universalOnly) - } completionHandler:^(BOOL success) { - if (!success) { - [FLEXAlert showAlert:@"No Universal Link Handler" - message:@"No installed application is registered to handle this link." - from:host - ]; - } - }]; - } else { - [app openURL:url]; - } + [app openURL:url options:@{ + UIApplicationOpenURLOptionUniversalLinksOnly: @(universalOnly) + } completionHandler:^(BOOL success) { + if (!success) { + [FLEXAlert showAlert:@"No Universal Link Handler" + message:@"No installed application is registered to handle this link." + from:host + ]; + } + }]; } else { [FLEXAlert showAlert:@"Error" message:@"Invalid URL" from:host]; }