【问题标题】:What is the uniform type identifier (UTI) for an SQLite file on iOS?iOS 上 SQLite 文件的统一类型标识符 (UTI) 是什么?
【发布时间】:2012-09-26 07:43:51
【问题描述】:

我希望我的应用程序能够打开 SQLite 文件。 SQLite 文件的正确 UTI(统一类型标识符,例如纯文本文件的 public.plain-text)是什么?

【问题讨论】:

标签: iphone ios sqlite uti info-plist


【解决方案1】:

SQLite 数据库没有预定义的 UTI。

Apple 的System-Declared Uniform Type Identifiers 列表中只有public.database,这对你来说太笼统了。

如果您使用 SQLite 数据库作为应用程序文件格式(这意味着应用程序无法打开任何随机 SQLite 数据库文件),您必须声明自己的 UTI。

【讨论】:

    猜你喜欢
    • 2015-12-02
    • 2012-12-16
    • 1970-01-01
    • 2018-08-21
    • 2011-04-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多