TuSDKPFPhotosGridView Class Reference
Inherits from | TuSDKICGridView : UICollectionView |
---|---|
Conforms to | UICollectionViewDataSource UICollectionViewDelegate |
Declared in | TuSDKPFPhotosGridView.h |
cellViewClazz
表格单元格视图类 (默认:TuSDKPFPhotosGridCell, 需要继承 TuSDKPFPhotosGridCell)
@property (nonatomic, strong) Class cellViewClazz
Declared In
TuSDKPFPhotosGridView.h
photoColumnNumber
相册列表每行显示的照片数量 (默认:0, 程序自动适配设备)
@property (nonatomic, assign) NSUInteger photoColumnNumber
Declared In
TuSDKPFPhotosGridView.h
enableMultiSelection
是否为多选模式
@property (nonatomic, assign) BOOL enableMultiSelection
Declared In
TuSDKPFPhotosGridView.h
displayCameraCell
显示相机单元格,点击后请求打开相机 (默认: true)
@property (nonatomic) BOOL displayCameraCell
Declared In
TuSDKPFPhotosGridView.h
photosSortKeyType
照片排序字段 默认根据创建时间排序 ( lsqAssetSortKeyModificationDate 类型 iOS8以上可用)
@property (nonatomic, assign) lsqAssetSortKeyType photosSortKeyType
Declared In
TuSDKPFPhotosGridView.h
group
当前选中相册组
@property (nonatomic, retain) id<TuSDKTSAssetsGroupInterface> group
Declared In
TuSDKPFPhotosGridView.h
gridProtocol
相册照片列表行视图委托
@property (nonatomic, assign) id<TuSDKPFPhotoGridProtocol> gridProtocol
Declared In
TuSDKPFPhotosGridView.h
– reloadItemWithData:
重置单元格视图
- (void)reloadItemWithData:(id<TuSDKTSAssetInterface>)asset
Parameters
asset |
单元格数据对象 |
---|
Declared In
TuSDKPFPhotosGridView.h