TuSDKPFAlbumMultipleViewController Class Reference

Inherits from TuSDKPFAlbumMultipleViewControllerBase
Conforms to TuSDKPFAlbumMultipleViewProtocol
Declared in TuSDKPFAlbumMultipleViewController.h

Overview

包含相机的系统相册控制器

  defaultStyleView

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

@property (nonatomic, readonly) TuSDKPFAlbumMultipleView *defaultStyleView

Declared In

TuSDKPFAlbumMultipleViewController.h

  delegate

系统相册委托

@property (nonatomic, weak) id<TuSDKPFAlbumMultipleDelegate> delegate

Declared In

TuSDKPFAlbumMultipleViewController.h

  viewClazz

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

@property (nonatomic, strong) Class viewClazz

Declared In

TuSDKPFAlbumMultipleViewController.h

  albumPopListClazz

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

@property (nonatomic, strong) Class albumPopListClazz

Declared In

TuSDKPFAlbumMultipleViewController.h

  popListRowHeight

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

@property (nonatomic, assign) CGFloat popListRowHeight

Declared In

TuSDKPFAlbumMultipleViewController.h

  albumPopListCellClazz

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

@property (nonatomic, strong) Class albumPopListCellClazz

Declared In

TuSDKPFAlbumMultipleViewController.h

  photosViewClazz

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

@property (nonatomic, strong) Class photosViewClazz

Declared In

TuSDKPFAlbumMultipleViewController.h

  gridCellViewClazz

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

@property (nonatomic, strong) Class gridCellViewClazz

Declared In

TuSDKPFAlbumMultipleViewController.h

  previewClazz

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

@property (nonatomic, strong) Class previewClazz

Declared In

TuSDKPFAlbumMultipleViewController.h

  previewPhotosViewClazz

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

@property (nonatomic, strong) Class previewPhotosViewClazz

Declared In

TuSDKPFAlbumMultipleViewController.h

  previewCellViewClazz

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

@property (nonatomic, strong) Class previewCellViewClazz

Declared In

TuSDKPFAlbumMultipleViewController.h

  maxSelectionNumber

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

@property (nonatomic, assign) NSUInteger maxSelectionNumber

Declared In

TuSDKPFAlbumMultipleViewController.h

  maxSelectionImageSize

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

@property (nonatomic, assign) CGSize maxSelectionImageSize

Declared In

TuSDKPFAlbumMultipleViewController.h

  photosSortKeyType

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

@property (nonatomic, assign) lsqAssetSortKeyType photosSortKeyType

Declared In

TuSDKPFAlbumMultipleViewController.h

  displayCameraCell

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

@property (nonatomic) BOOL displayCameraCell

Declared In

TuSDKPFAlbumMultipleViewController.h

  selectedAssets

初始化视图控制器,已选择的资源数据

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

Declared In

TuSDKPFAlbumMultipleViewController.h

  enabelShareSelection

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

@property (nonatomic, assign) BOOL enabelShareSelection

Declared In

TuSDKPFAlbumMultipleViewController.h

  enabelPreview

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

@property (nonatomic) BOOL enabelPreview

Declared In

TuSDKPFAlbumMultipleViewController.h

  photoColumnNumber

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

@property (nonatomic, assign) NSUInteger photoColumnNumber

Declared In

TuSDKPFAlbumMultipleViewController.h

  openedByCameraController

是否从相机界面进入 (默认: NO)

@property (nonatomic) BOOL openedByCameraController

Declared In

TuSDKPFAlbumMultipleViewController.h

– configPhotoView:

配置相册列表视图

- (void)configPhotoView:(TuSDKPFPhotosGridView *)view

Parameters

view

相册列表视图

Declared In

TuSDKPFAlbumMultipleViewController.h