I need your help with UIActivityViewController
.
I need to present activity controller for the file where, except for default actions, the user will be able to open the file in other apps.
I know how to do this with UIDocumentController
, which shows popover with all apps able to open the file.
But how can I show all these apps in UIActivityViewController
?
P.S. This behavior can be seen in Apple Mail app, for example.
Look at TTOpenInAppActivity for a way to combine both a
UIActivityViewController
(for normal sharing), and an 'Open in' button on that which brings up aUIDocumentInteractionController
. Pre-iOS 8, that is the best way to manage this.