TuSDKPFAlbumMultipleView Class Reference
Inherits from | UIView |
---|---|
Conforms to | TuSDKPFAlbumPopListProtocol TuSDKPFPhotoGridProtocol |
Declared in | TuSDKPFAlbumMultipleView.h |
albumPopListClazz
相册列表视图类 (默认:TuSDKPFAlbumPopList, 需要继承 TuSDKPFAlbumPopList)
@property (nonatomic, strong) Class albumPopListClazz
Declared In
TuSDKPFAlbumMultipleView.h
popListRowHeight
相册列表行高度 (默认: 64)
@property (nonatomic, assign) CGFloat popListRowHeight
Declared In
TuSDKPFAlbumMultipleView.h
albumPopListCellClazz
相册列表行视图类 (默认:TuSDKPFAlbumPopListCell, 需要继承 TuSDKPFAlbumPopListCell)
@property (nonatomic, strong) Class albumPopListCellClazz
Declared In
TuSDKPFAlbumMultipleView.h
photosViewClazz
相册照片列表视图类 (默认:TuSDKPFPhotosGridView, 需要继承 TuSDKPFPhotosGridView)
@property (nonatomic, strong) Class photosViewClazz
Declared In
TuSDKPFAlbumMultipleView.h
gridCellViewClazz
照片列表单元格视图类 (默认:TuSDKPFPhotosGridCell, 需要继承 TuSDKPFPhotosGridCell)
@property (nonatomic, strong) Class gridCellViewClazz
Declared In
TuSDKPFAlbumMultipleView.h
albumPopList
相册列表视图
@property (nonatomic, strong) TuSDKPFAlbumPopList *albumPopList
Declared In
TuSDKPFAlbumMultipleView.h
photosView
相册照片列表视图
@property (nonatomic, strong) TuSDKPFPhotosGridView *photosView
Declared In
TuSDKPFAlbumMultipleView.h
photoColumnNumber
相册列表每行显示的照片数量 (默认:0, 程序自动适配设备)
@property (nonatomic, assign) NSUInteger photoColumnNumber
Declared In
TuSDKPFAlbumMultipleView.h
enabelShareSelection
允许在多个相册中选择 (默认: 开启)
@property (nonatomic, assign) BOOL enabelShareSelection
Declared In
TuSDKPFAlbumMultipleView.h
selectedItems
选中的单元格列表
@property (nonatomic, readonly) NSMutableArray<TuSDKTSPhotosGridCellData*> *selectedItems
Declared In
TuSDKPFAlbumMultipleView.h
maxSelectionNumber
一次选择的最大照片数量 (默认: 3, 0 < n <= 9)
@property (nonatomic, assign) NSUInteger maxSelectionNumber
Declared In
TuSDKPFAlbumMultipleView.h
maxSelectionImageSize
选择图片的尺寸限制 默认:CGSize(8000,8000)
@property (nonatomic, assign) CGSize maxSelectionImageSize
Declared In
TuSDKPFAlbumMultipleView.h
displayCameraCell
显示相机单元格,点击后请求打开相机 (默认: true)
@property (nonatomic) BOOL displayCameraCell
Declared In
TuSDKPFAlbumMultipleView.h
selectedProtocol
列表样式视图委托
@property (nonatomic, assign) id<TuSDKPFAlbumMultipleViewProtocol> selectedProtocol
Declared In
TuSDKPFAlbumMultipleView.h
– selectGroup:
显示指定相册的照片
- (void)selectGroup:(id<TuSDKTSAssetsGroupInterface>)group
Parameters
group |
相册对象 |
---|
Declared In
TuSDKPFAlbumMultipleView.h
– toggleAlbumListViewState
切换相册选择列表显示状态: 显示 | 隐藏
- (void)toggleAlbumListViewState
Declared In
TuSDKPFAlbumMultipleView.h
– getAlbumListViewState
获取相册列表当前的显示状态
- (BOOL)getAlbumListViewState
Return Value
相册列表当前的显示状态
Declared In
TuSDKPFAlbumMultipleView.h
– onTuSDKPFPhotoGridAssetSelected:atIndexPath:
选中一张照片
- (void)onTuSDKPFPhotoGridAssetSelected:(id)asset atIndexPath:(NSIndexPath *)indexPath
Parameters
asset |
照片对象 |
---|---|
indexPath |
单元格索引 |
Declared In
TuSDKPFAlbumMultipleView.h