[英]canOpenURL: failed for URL: "instagram://" - error: "This app is not allowed to query for scheme instagram"
I've followed all guidelines by declaring the LSApplicationQueriesSchemes under Info.plist file but it return failed for those strings.我通过在 Info.plist 文件下声明 LSApplicationQueriesSchemes 来遵循所有准则,但对于这些字符串它返回失败。 I've no idea on it.
我对此一无所知。 Appreciate if someone could help it:)
感谢有人可以帮助它:)
<dict>
<key>NSBonjourServices</key>
<dict>
<key>0</key>
<string>_dartobservatory._tcp</string>
</dict>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>facebook</string>
<string>whatsapp</string>
<string>twitter</string>
<string>instagram</string>
<string>instagram-stories</string>
<string>linkedin</string>
</array>
</dict>
</plist>
Errors:错误:
Info.plist信息列表
Info.plist信息列表
While adding LSApplicationQueriesSchemes
you need to edit Info.plist
for all schemes.添加
LSApplicationQueriesSchemes
时,您需要为所有方案编辑Info.plist
。 So you need to edit Info.plist
, Info-Debug.plist
and any other Info.plist if you have created any different scheme for iOS project.因此,如果您为 iOS 项目创建了任何不同的方案,则需要编辑
Info.plist
、 Info-Debug.plist
和任何其他 Info.plist 。
As per documentation of appinio_social_share some applications support image for iOS and some applications don't support even if you provide it.根据appinio_social_share的文档,一些应用程序支持 iOS 的图像,而一些应用程序即使提供它也不支持。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.