将图像文件类型(UTI)与iOS应用程序相关联 - 在邮件/旅行中不显示“打开...” [英] Associate image file types (UTIs) with iOS App -- Doesn't show 'Open in...' in mail / safari

查看:237
本文介绍了将图像文件类型(UTI)与iOS应用程序相关联 - 在邮件/旅行中不显示“打开...”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个打开多种文件类型的应用,但图像文件似乎是另一回事。在Mail和Safari中,大多数具有相关应用程序的文件类型的选项是Open In ...或Open In [AppName](如果只有一个),但是,因为图像在电子邮件中嵌入为富文本格式和网页,该选项仅存在于保存图像和复制

I have an app that opens multiple file types, but image files seem to be a different story. In Mail and Safari, the options for most file types with associated apps are 'Open In...' or 'Open In [AppName]' (if there is only one), however, since images are embedded as rich-text within emails and web pages, the option only exists to 'Save Image' and 'Copy'

是否可以将iOS应用与图像文件类型相关联,并直接打开图像应用程序,或者它们是否必须全部保存到照片库,然后从那里导入(请说不!)

Is it possible to associate an iOS app with image file types, and open images directly in the app, or do they have to all be saved to the photo library, then imported from there (please say no!)

以下是我的plist中的图像文件关联:

Here are the image file associations from my plist:

    <dict>
        <key>LSHandlerRank</key>
        <string>Alternate</string>
        <key>LSItemContentTypes</key>
        <array>
            <string>public.png</string>
        </array>
    </dict>
    <dict>
        <key>LSHandlerRank</key>
        <string>Alternate</string>
        <key>LSItemContentTypes</key>
        <array>
            <string>public.tiff</string>
        </array>
    </dict>
    <dict>
        <key>LSHandlerRank</key>
        <string>Alternate</string>
        <key>LSItemContentTypes</key>
        <array>
            <string>public.jpeg</string>
        </array>
    </dict>


推荐答案

我假设答案与tiff文件相同:目前无法与图像相关联。

I assume the answer is the same as for tiff files: It's currently impossible to associate with images.

在iOS上添加与tiff文件的文件关联

这篇关于将图像文件类型(UTI)与iOS应用程序相关联 - 在邮件/旅行中不显示“打开...”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆