The following URL opens on iOS 8.3 and lower, but it does not work and iOS 9
let instagramURL = NSURL(string: \"instagram://app\")
Why won\
Well you can open an app by calling openURL:
or openURL:options:completionHandler:
(iOS 10 onwards) directly without making the conditional check canOpenURL:
.
Please read the discussion section in Apple doc for canOpenURL: method which says:
the openURL: method is not constrained by the
LSApplicationQueriesSchemes
requirement.