Mime类型(或其他)因此iOS Mail无法在Quicklook中打开? [英] Mime Type (or something) So iOS Mail Does Not Open in Quicklook?

查看:307
本文介绍了Mime类型(或其他)因此iOS Mail无法在Quicklook中打开?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在按照这个答案中的精彩说明完成工作。但是,我的文件类型是mimeapplication / notforquicklook,而quicklook仍然试图打开它。这导致一般的齿轮旋转并没有发生任何事情。

I've been following the brilliant instructions in this answer, which work perfectly. However, my file type is mime "application/notforquicklook" and quicklook still tries to open it. This causes general gear spinning and nothing happening.

如何解决这个问题?我的文件是压缩的plist。在我使用完整的XML plists之前,它工作得很好,但它们太大了(没有优势)。

How can I get around this problem? My files are compressed plists. Before I was using full XML plists, which worked fine, but they are too big (with no advantage).

这是选择正确MIME类型的问题,或者其他什么?

Is this a question of choosing the right MIME type, or something else?

推荐答案

实际上,您应该将public.data分配给您的符合UTI(UTTypeConformsTo) 导出的类型UTI(CFBundleDocumentTypes)

in fact, you should assign "public.data" to your "Conforms to UTIs" (UTTypeConformsTo) in "Exported Type UTIs" (CFBundleDocumentTypes)

<dict>
    <key>UTTypeConformsTo</key>
    <array>
        <string>public.data</string>
    </array>
    <key>UTTypeDescription</key>
    <string>Scrollshow Presentation</string>
    <key>UTTypeIdentifier</key>
    <string>com.plimse.scrollshow</string>
    <key>UTTypeTagSpecification</key>
    <dict>
        <key>public.filename-extension</key>
        <string>scrollshow</string>
        <key>public.mime-type</key>
        <string>mime/x-scrollshow</string>
    </dict>
</dict>

这篇关于Mime类型(或其他)因此iOS Mail无法在Quicklook中打开?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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