What version of Sqlite does iOS include?
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
This wiki has the latest list, which is currently:
In iOS 9.0 the SQLite version is
3.8.10.2
Just do:
in a debugger running an app (that links to the sqlite lib) on a device on which you want to know the sqlite version.
On an iOS 8.0.2 iPhone 5s I get 3.7.13 so it seems they haven't changed version in a while based on reports in the other answers that version 6.0 used the same version.
I've just checked on the iOS 7:
Using SELECT sqlite_version() on various iOS versions:
From the internets:
I just tested now:
Use following to printout the version in your code. You may define following as a separate debug only function and call it from
didFinishLaunchingWithOptions
in your appDelegate.Alternatively, look at
sqlite3.h
directly in Xcode. For iOS 11:sqlite3.h
also has other methods that can be used for debugging purposes.