开发者

Open any image through my app [closed]

开发者 https://www.devze.com 2023-04-10 06:45 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago. 开发者_StackOverflow

I have image on my email and I have to open it through my application just like when I press on image it gives the action sheet. I want to show my app option on it.


<key>CFBundleDocumentTypes</key>
<array>
    <dict>
        <key>CFBundleTypeName</key>
        <string>PDF</string>
        <key>LSHandlerRank</key>
        <string>Alternate</string>
        <key>LSItemContentTypes</key>
        <array>
            <string>com.adobe.pdf</string>
        </array>
    </dict>
</array>
<key>CFBundleExecutable</key>

this is for adding pdf file. update the code appropriately and paste in into your .plist file.


You need to tell the system which file types your appe handles: http://developer.apple.com/library/ios/#documentation/FileManagement/Conceptual/DocumentInteraction_TopicsForIOS/Articles/RegisteringtheFileTypesYourAppSupports.html

0

精彩评论

暂无评论...
验证码 换一张
取 消