Have a company requirements are in WeChat a PDF file, open the file share in the upper right-hand corner, there is a similar function, one opened by other applications, there should have our application, open our application, will send the file to our server, is such a simple function, to a few picture below, increase understanding,
- Open a PDF file in wechat
If you want your APP to have the function of opening other applications (Word, PDF, PPT, etc.), it is actually very simple, just let your APP like Apple when registering, tell him you support the type, so that when opening other applications, Apple will remember you, no more talk, directly play…
Just add the supported types to your project’s info.plist file
<key>CFBundleDocumentTypes</key>
Copy the code
CFBundleTypeName com.myapp.common-data LSItemContentTypes com.microsoft.powerpoint.ppt public.item com.microsoft.word.doc com.adobe.pdf com.microsoft.excel.xls public.image public.content public.composite-content public.archive public.audio public.movie public.text public.data
Most of these types are covered, I hope this article can help you! If the required type of support is not available here, you can check it out here https://developer.apple.com/library/ios/documentation/Miscellaneous/Reference/UTIRef/Articles/System-DeclaredUniformType Identifiers.html#//apple_ref/doc/uid/TP40009259-SW1
This is a super full address http://stackoverflow.com/questions/9266079/why-is-my-ios-app-not-showing-up-in-other-apps-open-in-dialog