8

I'm creating a messaging app and I would like to enable other apps to share text to my app via the share menu option.

How do I get my app listed in there?

This is the menu I would like to get listed in:
image

2 Answers 2

20

In iOS 8, Apple has now enabled a way for you to add your application to a user's Share Sheet as one of many features of Extensibility, which aims to make your app available to the user even when closed.

enter image description here

You can read a lot more about share extensions here, or go straight to Apple's pre-release documentation to dive into the code.


Update: Above link of Apple documentation is not working, check here App Extension Programming Guide: Share

-1

You can't automatically be added to the UIActivityViewController in other apps. The only things that appear on that "share menu" are a few predefined apps that Apple has added support for, as well as any other app specific activities an app decides to add.

You can setup your app to appear in a list of apps for opening a file but that is not the same as what you are asking for here.

1
  • A better answer is below Commented Aug 28, 2020 at 2:11

Not the answer you're looking for? Browse other questions tagged or ask your own question.