Posts

Post not yet marked as solved
94 Replies
I was facing a similar issue. My app wasn't being shown in the list of apps to open the XML attachment from the mail app. I used this code in info.plist and it worked for me:<key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeName</key> <string>XML File</string> <key>LSHandlerRank</key> <string>Default</string> <key>CFBundleTypeRole</key> <string>Viewer</string> <key>LSItemContentTypes</key> <array> <string>public.XML</string> </array> <key>CFBundleTypeIconFiles</key> <array> <string>Sandbox-icon.png</string> </array> </dict> </array>Refer: http://iosdevelopertips.com/core-services/how-to-register-file-types-supported-by-an-ios-app.html