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?