I'm busy creating an iOS 8 share extension for my app. I want to access my SQLite (not Core Data) database from my extension. After searching I created an App Group for my app, named "group.AppName".
then I created a SQLite database in NSDocumentDirectory. But App Extensions can't access NSDocumentDirectory. That's why I want to save the SQLite database in my App Group. I can't figure out how I can create this database in my App Group, so I can access the database from my Today extension.
Can anybody help me with this problem? That would be great!
Aucun commentaire:
Enregistrer un commentaire