我的iOS应用程序不处理所有应用程序中的图像文件类型

我的iOS应用程序不处理所有应用程序中的图像文件类型,ios,Ios,我希望我的应用程序在图像的“打开”选项中 我在Info.plist中使用了此代码 <key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeName</key> <string>Image</string> <key>LSHandlerRank</key&g

我希望我的应用程序在图像的“打开”选项中

我在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>
CbundleDocumentTypes

但在苹果的应用程序“照片”中,我看不到我的应用程序:


如何将共享菜单中的我的应用程序显示在应用程序“照片”中?

为了在照片的共享列表中显示你的应用程序,你需要在你的项目中添加一个新的共享扩展目标,有关如何添加共享扩展的详细信息,请参阅。你需要在共享扩展中显示你的应用程序吗?事实上,我就是这么做的