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

1.9k Views Asked by At

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

1

There are 1 best solutions below

0
On BEST ANSWER

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.