/*
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentDirectory = [paths objectAtIndex: 0];
NSString *path = [documentDirectory stringByAppendingPathComponent: SQLITE_FILE_NAME];
return path;
*/
NSString *path = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent: SQLITE_FILE_NAME];
阅读(675) | 评论(0) | 转发(0) |