② If your output message is Xxxx-error: "The This app was not allowed to the query for scheme xxxx"
(here because my App integrates the functions of sharing to QQ, Weibo, xxxx Part I saw Mqq, WeChat, Sinaweibosso and many other information)
Go to info.plist inside to create a called Lsapplicationqueriesschemes Array, the XXXX part of the words you see in one fill in, until the console does not have any relevant output.
③ about other console error messages raised through WebView access to HTTP URLs
Setting ATS in Info.plist
<key>NSAppTransportSecurity</key><dict><!--Include to allow all connections (DANGER)--><key>NSAllowsArbitraryLoads</key><true/></dict>
As we said earlier, Apple wants us to access a relatively secure HTTPS, so when you need to access HTTP,
Although Apple does not recommend it, it is possible to reverse an unsecured network request by declaring the content shown in Info.plist, which still allows the APP to access the specified HTTP, or even arbitrary http.
Wen/kyxu, the Great Lord (Jane book author)
Original link: http://www.jianshu.com/p/e38a609f786e
Copyright belongs to the author, please contact the author to obtain authorization, and Mark "book author".
Error "This app isn't allowed to query for scheme Sinaweibosso"