Jason
Jason

Reputation: 14605

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, e.g. public.plain-text for plain text files) for SQLite files?

Upvotes: 3

Views: 2084

Answers (1)

CL.
CL.

Reputation: 180210

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.

Upvotes: 2

Related Questions