Open dslcoding opened 1 month ago
我已经将加过密的数据库拖至项目中,我用 setKey 方法进行访问,项目报错:file is not a database in "SELECT FROM `+------(LKDBHelper )getUsingLKDBHelper{ static LKDBHelper* db; static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ db = [[LKDBHelper alloc]initWithDBPath:[zi_Table downloadPath]]; NSLog(@"==DDDD+==%@",[zi_Table downloadPath]); [db setKey:@"44444444"]; //[db setket] ; }); return db; }`
我已经将加过密的数据库拖至项目中,我用 setKey 方法进行访问,项目报错:file is not a database in "SELECT FROM `+------(LKDBHelper )getUsingLKDBHelper{ static LKDBHelper* db; static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ db = [[LKDBHelper alloc]initWithDBPath:[zi_Table downloadPath]]; NSLog(@"==DDDD+==%@",[zi_Table downloadPath]); [db setKey:@"44444444"]; //[db setket] ; }); return db; }`