TuSDKPFAlbumMultipleOptions Class Reference

Inherits from TuSDKCPOptions
Declared in TuSDKPFAlbumMultipleOptions.h

Overview

系统相册控制器配置选项

  viewClazz

视图类 (默认:TuSDKPFAlbumMultipleView, 需要继承 TuSDKPFAlbumMultipleView)

@property (nonatomic, strong) Class viewClazz

Declared In

TuSDKPFAlbumMultipleOptions.h

  albumPopListClazz

相册列表视图类 (默认:TuSDKPFAlbumPopList, 需要继承 TuSDKPFAlbumPopList)

@property (nonatomic, strong) Class albumPopListClazz

Declared In

TuSDKPFAlbumMultipleOptions.h

  popListRowHeight

相册列表行高度 (默认: 64)

@property (nonatomic, assign) CGFloat popListRowHeight

Declared In

TuSDKPFAlbumMultipleOptions.h

  albumPopListCellClazz

相册列表行视图类 (默认:TuSDKPFAlbumPopListCell, 需要继承 TuSDKPFAlbumPopListCell)

@property (nonatomic, strong) Class albumPopListCellClazz

Declared In

TuSDKPFAlbumMultipleOptions.h

  photosViewClazz

相册照片列表视图类 (默认:TuSDKPFPhotosGridView, 需要继承 TuSDKPFPhotosGridView)

@property (nonatomic, strong) Class photosViewClazz

Declared In

TuSDKPFAlbumMultipleOptions.h

  gridCellViewClazz

照片列表单元格视图类 (默认:TuSDKPFPhotosGridCell, 需要继承 TuSDKPFPhotosGridCell)

@property (nonatomic, strong) Class gridCellViewClazz

Declared In

TuSDKPFAlbumMultipleOptions.h

  previewClazz

预览视图控制器默认样式视图 (如果覆盖 buildDefaultStyleView 方法,实现了自己的视图,defaultStyleView == nil)

@property (nonatomic, strong) Class previewClazz

Declared In

TuSDKPFAlbumMultipleOptions.h

  previewPhotosViewClazz

预览视图控制器相册照片列表视图类 (默认:TuSDKPFPhotosGridPreview, 需要继承 TuSDKPFPhotosGridPreview)

@property (nonatomic, strong) Class previewPhotosViewClazz

Declared In

TuSDKPFAlbumMultipleOptions.h

  previewCellViewClazz

预览视图控制器照片列表单元格视图类 (默认:TuSDKPFPhotosGridCell, 需要继承 TuSDKPFPhotosGridCell)

@property (nonatomic, strong) Class previewCellViewClazz

Declared In

TuSDKPFAlbumMultipleOptions.h

  maxSelectionNumber

一次选择的最大照片数量 (默认: 3, 0 < n <= 9)

@property (nonatomic, assign) NSUInteger maxSelectionNumber

Declared In

TuSDKPFAlbumMultipleOptions.h

  maxSelectionImageSize

选择图片的尺寸限制 默认:CGSize(8000,8000)

@property (nonatomic, assign) CGSize maxSelectionImageSize

Declared In

TuSDKPFAlbumMultipleOptions.h

  photosSortKeyType

照片排序字段 默认根据创建时间排序 ( lsqAssetSortKeyModificationDate 类型 iOS8以上可用)

@property (nonatomic, assign) lsqAssetSortKeyType photosSortKeyType

Declared In

TuSDKPFAlbumMultipleOptions.h

  displayCameraCell

显示相机单元格,点击后请求打开相机 (默认: true)

@property (nonatomic) BOOL displayCameraCell

Declared In

TuSDKPFAlbumMultipleOptions.h

  enabelShareSelection

允许在多个相册中选择 (默认: 开启)

@property (nonatomic, assign) BOOL enabelShareSelection

Declared In

TuSDKPFAlbumMultipleOptions.h

  enabelPreview

是否开启大图预览 (默认: true)

@property (nonatomic) BOOL enabelPreview

Declared In

TuSDKPFAlbumMultipleOptions.h

  photoColumnNumber

相册列表每行显示的照片数量 (默认:0, 程序自动适配设备)

@property (nonatomic, assign) NSUInteger photoColumnNumber

Declared In

TuSDKPFAlbumMultipleOptions.h

  skipAlbumName

需要自动跳转到相册组名称

@property (nonatomic, copy) NSString *skipAlbumName

Declared In

TuSDKPFAlbumMultipleOptions.h

  selectedAssets

选中的媒体资源对象

@property (nonatomic, readonly) NSMutableArray<TuSDKTSAssetInterface> *selectedAssets

Declared In

TuSDKPFAlbumMultipleOptions.h

– viewController

创建系统相册列表控制器对象

- (TuSDKPFAlbumMultipleViewController *)viewController

Return Value

系统相册列表控制器对象

Declared In

TuSDKPFAlbumMultipleOptions.h