Register app to open from Safari's “share” or “open in…” dialog not working. (though works from other apps)

前端 未结 3 1055
遇见更好的自我
遇见更好的自我 2020-12-29 14:15

I am trying to register my application to show up in Safari\'s \"Open-in...\" dialog when a user clicks the share button on any html webpage.

I have added the

相关标签:
3条回答
  • 2020-12-29 15:02

    its , called extension , fist create a new project and than --> file ->new -> target -> application Extension -> ####

    and select your required extension and done....

    0 讨论(0)
  • 2020-12-29 15:04

    I know this is years later, but if anyone runs into this old question, as of IOS 8, Apple now allows app creators to make "extensions" which do allow you to add your app to the share menus.

    Here is some documentation:

    https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html

    0 讨论(0)
  • 2020-12-29 15:07

    I fear what you want is not possible.

    There is a difference between the Share dialog and the Open With dialog.

    For the latter it's possible to register your app with document interaction, but the Share dialog only provides the native types (which Weibo is one of - see here: UIActivityViewController).

    Also see this question on StackOverflow: is-it-possible-to-add-an-app-to-the-native-share-dialog

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