Share App application shortcut [UIApplicationShortcutIconTypeShare]

后端 未结 1 600
我寻月下人不归
我寻月下人不归 2021-01-11 15:22

I\'ve seen a lot of apps use the UIApplicationShortcutIconTypeShare application shortcut to share their app right from the home screen. It launches a UIActivit

相关标签:
1条回答
  • 2021-01-11 15:48

    The OS adds the sharing menu item automatically to all apps downloaded from the App Store. Note that it doesn't add it to apps installed via Xcode or any third party distribution systems such as Buddybuild.

    (Edit: the TestFlight version of your app will have "Send Beta Feedback" menu item instead of "Share...")

    To address your question directly though, no, it is not possible (as of iOS 10 - may be possible in the future, who knows) for an app to present a view controller directly on the home screen. If it was possible, that would be a big security issue, because an app should not be able to access anything outside its own main window.

    0 讨论(0)
提交回复
热议问题