In iOS 9 apps can't use canOpenURL
to check if application installed or not.
If your (iOS 9.0 or later) app calls this method using a scheme you have not declared, the method returns false, whether or not an appropriate app for the scheme is installed on the device.
but I am wondering how facebook app succeed to direct the user to appstore if the application is not installed , or to open target application if it's installed !
facebook can't list all apps in LSApplicationQueriesSchemes !
Thanks