← Go back

Using ADO.NET SQLite in Xamarin (forms)

To get this to work on iOS devices you must initialize SQLite in the iOS project. This is iOS specific and does not have to be done on Android.

Now to enable that you have to open the AppDelegate.cs class inside the iOS project and insert

SQLitePCL.Batteries_V2.Init();

before

LoadApplication(new App());