2

dear community,

A simple question but no clear answer yet.

Can I add my button to standard UIActivityController so that when user goes to Photos/Notes/Safari he can also along with twitter/facebook post it to my destination ?

Activity controller for photos app

I'm sure I can do that while calling UIActivityViewController from within my app. And looks like there is a way to do that for mail attachments. Box app can do that here, probably via CFBundleDocumentTypes in plist. But is there a way to do that with e.g. photos?

Box offers to open mail attachment

Hopefully anybody can give me any useful links with examples of such implementation.

Thanks a lot

--Dannie

Dannie P
  • 4,464
  • 3
  • 29
  • 48

1 Answers1

1

As of iOS 6, there is no way to add a custom UIActivity item to built-in apps like Photos, Notes, or Safari.

Custom UIActivity items can only be added to third-party apps.

Bryan Luby
  • 2,527
  • 22
  • 31
  • Thanks, Bryan. Any prooflink for that? – Dannie P Feb 14 '13 at 08:39
  • The [UIActivityViewController class reference](http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIActivityViewController_Class/Reference/Reference.html) states that its for offering various services from *your* application. There is no public API for adding custom `UIActivity`s as extensions to the built-in standard apps. But I'm crossing my fingers that Apple will add this to a future version of iOS. – Bryan Luby Feb 14 '13 at 12:30