Question

Right now I am making a document based app for iOS. I am currently trying to register .zip for opening with my app. I have tried apple's example and many other tutorials such as the one here. However, none of them make my app show up in mail.app or any other app. I have even tried removing the app and then running it with no luck. If it makes a difference, I am running iOS 6. A part of info.plist is below:

<key>CFBundleDocumentTypes</key>
<array>
    <dict>
        <key>CFBundleTypeName</key>
        <string>Zip File</string>
        <key>CFBundleTypeRole</key>
        <string>Editor</string>
        <key>LSHandlerRank</key>
        <string>Owner</string>
        <key>LSItemContentTypes</key>
        <array>
            <string>com.pkware.zip-archive</string>
        </array>
    </dict>
</array>

Any help is greatly appreciated.

Was it helpful?

Solution

I handle zip files and have this:

    <dict>
        <key>CFBundleTypeName</key>
        <string>ZIP</string>
        <key>LSHandlerRank</key>
        <string>Alternate</string>
        <key>LSItemContentTypes</key>
        <array>
            <string>com.pkware.zip-archive</string>
            <string>public.zip-archive</string>
        </array>
    </dict>

OTHER TIPS

It Turns out it works on an iPhone but not on an iPad. It must be a bug in iOS 6 or the fact that this was an iPhone only project and not an Universal app.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top