Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

my iOS application does not handle image file type in all application

Tags:

ios

I want my app to be in 'Open in' options for image.

I have used this code in my Info.plist

<key>CFBundleDocumentTypes</key>
<array>
    <dict>
        <key>CFBundleTypeName</key>
        <string>Image</string>
        <key>LSHandlerRank</key>
        <string>Alternate</string>
        <key>LSItemContentTypes</key>
        <array>
            <string>public.image</string>
        </array>
    </dict>
    <dict>
        <key>CFBundleTypeName</key>
        <string>PNG image</string>
        <key>LSHandlerRank</key>
        <string>Alternate</string>
        <key>LSItemContentTypes</key>
        <array>
            <string>public.png</string>
        </array>
    </dict>
    <dict>
        <key>CFBundleTypeName</key>
        <string>JPEG image</string>
        <key>LSHandlerRank</key>
        <string>Alternate</string>
        <key>LSItemContentTypes</key>
        <array>
            <string>public.jpeg</string>
        </array>
    </dict>
</array>

In the application 'Inbox', on sharing an image, i can see my app 'Quotle' :

enter image description here

But in Apple's application 'Photo', i don't see my app :

enter image description here

What can i do to see my app in sharing menu into application 'Photo'?

like image 820
Kevin ABRIOUX Avatar asked Jan 19 '16 10:01

Kevin ABRIOUX


People also ask

How to fix iOS 14/13 Files app not showing files?

The Files app not showing files and does not work as it should be. When it stops displaying files, you can't open files from the Files app. To fix iOS 14/13 Files app empty issue, please follow the steps to enable iCloud drive on iPhone/iPad or iPod touch. Navigate to Settings app on iPhone/iPad, tap profile name > iCloud > Enable iCloud Drive

Is there a downside to using the Files app on iOS?

The only downside is that Files app updates are integrated into iOS system updates, so any issues that you come across do take a while to get fixed permanently.

Can iOS devices view embedded JPEG files?

iOS devices will view the embedded JPEG. RAW files that you store outside the Photos app library (for example, in your Pictures folder) are always present on your Mac, but aren't stored in iCloud and won't stay up to date in the Photos app on your iPhone, iPad, or iPod touch.

What is the Files app on iOS?

The Files app is a welcome addition to iOS. It looks simplistic, yet there’s a real powerhouse underneath once you get to know the various features available.


1 Answers

In order to show your app in Photo's Share to list, you need to add a new target of Share Extension into your project, please refer the document for more info on how to add the Share Extension.

like image 117
Allen Avatar answered Oct 05 '22 03:10

Allen