GuillermoMP
GuillermoMP

Reputation: 1754

How to include iOS8 extensions when using a custom share UI?

There is any way to access sharing extensions without popping the default UIActivityViewController? I couldn't find one, but asking just in case.

In case not, i have another question. How are you planing to adapt your app's custom sharing interfaces to this restriction?

Upvotes: 2

Views: 619

Answers (1)

msk
msk

Reputation: 8905

You cannot access Share/Action extensions without using UIActivityViewController. In iOS8 sharing area of the activity view controller is the only entry point for share extensions.

From Apple docs.

Each of which is tied to an area of the system, such as sharing, Notification Center, and the iOS keyboard. A system area that supports extensions is called an extension point. Each extension point defines usage policies and provides APIs that you use when you create an extension for that area. You choose an extension point to use based on the functionality you want to provide.

The best you can do is to provide a share menu with two options to launch app's custom sharing interface and UIActivityViewController. Bad UX but I don't know any other way.

Upvotes: 2

Related Questions