-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)

 

 posted on 2015-11-16 11:37  摇摆的大叔  阅读(380)  评论(0编辑  收藏  举报