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