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>