UIDocumentInteractionController in iOS for Whatsapp Integration
Posted
by
Smitha
on Programmers
See other posts from Programmers
or by Smitha
Published on 2014-06-12T07:21:06Z
Indexed on
2014/06/12
9:39 UTC
Read the original article
Hit count: 175
ios
I was looking for a way to share my application created files through Whatsapp. I found we can chat using custom URL scheme provided by whatsapp : https://www.whatsapp.com/faq/iphone/23559013. But, to share files of my app, read that I have to use DicumentIntercationController. So, is there any smaple available?
Also, when I read about apple docs, it says, "Create an instance of the UIDocumentInteractionController class for each file you want to interact with" (https://developer.apple.com/library/ios/documentation/FileManagement/Conceptual/DocumentInteraction_TopicsForIOS/Articles/PreviewingandOpeningItems.html#//apple_ref/doc/uid/TP40010410-SW1). So is it necessary to create instance for each file? I just want to share the files as and when i receive it through my service to my app.
Thanks for the help in advance.
© Programmers or respective owner