How to use sqlite in ios 7?
问题 How to use sqlite in ios 7? I'm trying to use code ios 6 and it does not work in ios 7 UPDATE! I export a database, to desktop, change name and drag and drop to xcode Add the code: // SQLite // Conexion DB NSArray *paths = NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES); NSString *documentDirectory = [paths objectAtIndex:0]; _databasePath = [documentDirectory stringByAppendingPathComponent:@"ambisi_test.sqlite"]; [self loadDB]; // --> End SQLite -(void)loadDB{