-canOpenURL: failed for URL: ""

-canOpenURL: failed for URL: "CamCardHDOpenAPI:*" - error: "(null)"

This app is not allowed to query for scheme * 

在iOS 9中必须将url加入白名单中. (LSApplicationQueriesSchemes)

 

 在Xcode中打开Info.plist文件;添加一个键“NSAppTransportSecurity”,类型为Dictionary,在该dictionary下添加一个键“NSAllowArbitraryLoads”,类型为Boolean,值为YES,然后保存文件 (App Transport Security Settings, Allow Arbitrary Loads)

 

原文地址:https://www.cnblogs.com/ethan-qi/p/4968476.html