This topic is a duplicate of iOS Share Extension.
Closing this one. Head over there for all further discussions.