I’ve seen some apps that allow you to share content with ios’s mail, messages, print and copy.
I see there is a project called sharekit that does something similar but integrates social network sharing. Personally I don’t need the social sharing, so sharekit it probably overkill.
I just need to popup an actionsheet that will allowe me to pass some text for example to the mail app or the messages app.
What you are looking for is the
MessageUI.framework.This framework contains:
MFMailComposeViewControllerthis class will allow your user to compose an e-mail.
MFMessageComposeViewControllerthis class will allow your to compose a SMS message. MMS is not supported.You will have to write the action sheet you self, but after the user made there choice you can create an instance of
MFMailComposeViewControllerorMFMessageComposeViewControllerand present it to the user.Be aware that you will need to implement the
MFMailComposeViewControllerDelegateand/orMFMessageComposeViewControllerDelegateto dismiss the view.