Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top