How to open email Attachment with your iOS Application ?

Posted by Unknown Rabu, 03 Oktober 2012 0 komentar
Confuse !! How Dropbox or any PDF Reader kind application can open(handle) files of your email!!

For example, PDF Expert or any other PDF viewer is installed in you device, and when you tried to open PDF file from Email, it will ask Open In "PDF Expert" or Open In "PDF Viewer".

Let's go and make a application which can open ".xml" file and ".m" source-code file.

Add below XML code to info.plist file of your project.





your Info.plist will look like below,


Info.plist
Info.plist
Now, Run your project any device.
Send e-mail containing attachment as .XML and .m files

You can see attachment will have option to Open In "YOUR_APP".

See below Screenshots of my device,

XML File,


XML file
XML file


.m File,


.m File
.m File
See full list of supported extensions (UTIs) here.

You can handle this file in AppDelegate.m, See below code.





Thanks for reading the Article.

Follow me @ Just iOS

Contact Us @ Solution Analysts Pvt. Ltd.
TERIMA KASIH ATAS KUNJUNGAN SAUDARA
Judul: How to open email Attachment with your iOS Application ?
Ditulis oleh Unknown
Rating Blog 5 dari 5
Semoga artikel ini bermanfaat bagi saudara. Jika ingin mengutip, baik itu sebagian atau keseluruhan dari isi artikel ini harap menyertakan link dofollow ke https://apk-zenonia5.blogspot.com/2012/10/how-to-open-email-attachment-with-your.html. Terima kasih sudah singgah membaca artikel ini.

0 komentar:

Posting Komentar

Trik SEO Terbaru support Online Shop Baju Wanita - Original design by Bamz | Copyright of apk zenonia 5.