dimanche 22 novembre 2015

Swift shared sqlite database

I have created an application that has an app that has a widget and an watchKit application. I have a SQLite database, but when I add data to the database in my main app I can´t access the data within it from my Today Extension and WatchKit.

Has it something to do with the instance to the SQLite class or what does this depends on? I have tried to Google this but have not found any answers yet.

To be clear, each project has its own instance right now.

Aucun commentaire:

Enregistrer un commentaire