我用第三方库FMDatabase(fmdb)存储数据,但是我取出的时候,取不出来这是什么问题
NSString * sql;
FMResultSet * set;
sql = @"select * from News";
set = [_dataBase executeQuery:sql]; while (set.next) { _item = [[NewsItem alloc] init]; _item.newsTitle = [set stringForColumn:@"title"]; _item.newsImageUrl = [set stringForColumn:@"imageUrl"]; [_dataArray addObject:_item];
SMILET
温温酱
相关分类