With the new iOS 6, Apple has added a new UIActivityViewController sharing menu (Image A), which has several icon buttons for sharing instead of the old UIActionSheet text button.
I want to display a UIActivityViewController, but with custom buttons. I know that they have a list of default applications that can be displayed (Mail, Messages, Facebook, Twitter, etc.), but I want to configure what happens when you click on these buttons. When you click on the “Messaging” icon, it opens the “Mail” application with a new message, as an example that I would like if, when I click on the “Mail” application, it opens the Twitter application (not quite, but just something else than the default) Right now I can’t find a way to add my own methods behind the buttons.
With the latest ShareKit, they added Instagram sharing, and when you decide to share it, a new view will appear that looks exactly like the UIActivityViewController screen (image B). They seemed to understand how to add custom buttons that do custom things. I was looking for ShareKit code, but could not find where and how it works.
Perhaps what I ask is not yet possible, but any help is appreciated!
image A 
image B 
source share