简体   繁体   中英

How to see installed applications option in iphone/iPAD to open pdf file?

I have developed a pdf reader application.What I want that, when user TAP AND HOLD on PDF attachment(via email); iPhone/iPAD should show installed application options as menu(along with my application) to open the PDF.How can I do this? Could you please suggest me any link?

Note: as per apple document "Registering the file types your app supports", I did the changes in infoPlist.string like this:

/* Localized versions of Info.plist keys */
<dict>
 <key>CFBundleTypeName</key>
 <string>PDF</string>
 <key>CFBundleTypeIconFiles</key>
   <array>
    <string>Icon.png</string>
   </array>
  <key>LSItemContentTypes</key>
   <array>
     <string>com.adobe.pdf</string>
   </array>
  <key>LSHandlerRank</key>
</dict>

But, its showing "Data could not be read because it is corrupted". How to resolve this?

Nice blog see this it has step by step guide..

http://enharmonichq.com/sharing-data-locally-between-ios-apps/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM