2
我在Swift中构建了一个应用程序,它将共享扩展作为功能的一部分。我将此扩展名添加为Target
到我的应用程序并设置NSExtensionActivationRule
。iOS分享AppStore中的应用程序扩展?
我的共享扩展在Safari和其他地方可见,但我无法在AppStore中显示。我拥有所有可能的激活规则。
由于我可以从AppStore共享应用程序的详细信息到Outlook,Skype,WhatsApp,我假设它是可能的。
我也试图让这个作为行动分机,但有类似的问题(苹果商店的行动中,只有复制链接和运行Worfklow(都来自苹果)。
如何设置我的扩展激活规则使用它在AppStore上
中的Info.plist我现在的配置是下面:?
<key>NSExtension</key>
<dict>
<key>NSExtensionAttributes</key>
<dict>
<key>NSExtensionActivationRule</key>
<dict>
<key>NSExtensionActivationSupportsFileWithMaxCount</key>
<integer>1</integer>
<key>NSExtensionActivationSupportsImageWithMaxCount</key>
<integer>1</integer>
<key>NSExtensionActivationSupportsMovieWithMaxCount</key>
<integer>1</integer>
<key>NSExtensionActivationSupportsText</key>
<true/>
<key>NSExtensionActivationSupportsWebURLWithMaxCount</key>
<integer>1</integer>
<key>NSExtensionActivationSupportsWebPageWithMaxCount</key>
<integer>1</integer>
</dict>
</dict>