Hi i want to do Ios app which should open an exact format of attachment which will be received by mail.
so i receive an email with attachment, i open it and click long to the attachment and i want to see option to open with my app.
how can be it done?
Use the document interaction controller
http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIDocumentInteractionController_class/Reference/Reference.html#//apple_ref/doc/uid/TP40009304
“For example, an email program might use this class to allow the user to preview attachments and open them in other apps. …”