IOS 9 遇到的问题

IOS9中通过url scheme调用其他app时候,控制台会输入

canOpenURL: failed for URL: "XXXXXX://" - error: "This app is not allowed to query for scheme XXXXXX”

修正方法是,Info.plist文件中添加一个key为LSApplicationQueriesSchemes的数组值,里面包含需要添加白名单的string类型的scheme,就这么简单!

 

原文地址:https://www.cnblogs.com/supercheng/p/5054420.html