简体   繁体   中英

What is the uniform type identifier (UTI) for an SQLite file on iOS?

I want my app to open SQLite files. What is the proper UTI (uniform type identifier, eg public.plain-text for plain text files) for SQLite files?

There is no predefined UTI for SQLite databases.

Apple's list of System-Declared Uniform Type Identifiers has only public.database , which is too generic for you.

If you are using SQLite databases as an application file format (which implies that the app cannot open any random SQLite database file), you have to declare your own UTI.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM