2
我想在我的tableview中使用dropbox缩略图而不使用dropbox SDK,因为我不想使用图像缓存或其他东西。ios dropbox在tableview中使用图像缩略图而不使用图像缓存
如果缩略图不存在,我把默认的图像,但是当一个缩略图存在,我不知道如何从Dropbox的获得,并把我的tableview:
NSString *fileIconName;
if ([[cellDescriptor objectForKey:@"fileThumbnailExists"]boolValue]==YES)
{
}
else {
fileIconName = [cellDescriptor objectForKey:@"fileIcon"];
cell.imageView.image = [UIImage imageNamed:fileIconName];
}