0

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?

bapi
  • 1,903
  • 10
  • 34
  • 59

1 Answers1

2

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

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

Aditya Deshmane
  • 4,676
  • 2
  • 29
  • 35