TuSDKPFPhotoPreviewController Class Reference

Inherits from TuSDKPFPhotoPreviewControllerBase
Conforms to TuSDKPFPhotosGridPreviewProtocol
Declared in TuSDKPFPhotoPreviewController.h

Overview

相册预览控制器

  defaultStyleView

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

@property (nonatomic, readonly) TuSDKPFPhotoPreview *defaultStyleView

Declared In

TuSDKPFPhotoPreviewController.h

  viewClazz

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

@property (nonatomic, strong) Class viewClazz

Declared In

TuSDKPFPhotoPreviewController.h

  cellViewClazz

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

@property (nonatomic, strong) Class cellViewClazz

Declared In

TuSDKPFPhotoPreviewController.h

  photosViewClazz

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

@property (nonatomic, strong) Class photosViewClazz

Declared In

TuSDKPFPhotoPreviewController.h

  maxSelectionNumber

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

@property (nonatomic, assign) NSUInteger maxSelectionNumber

Declared In

TuSDKPFPhotoPreviewController.h

  maxSelectionImageSize

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

@property (nonatomic, assign) CGSize maxSelectionImageSize

Declared In

TuSDKPFPhotoPreviewController.h

  photosSortKeyType

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

@property (nonatomic, assign) lsqAssetSortKeyType photosSortKeyType

Declared In

TuSDKPFPhotoPreviewController.h

  currentIndex

用户点击的图片的索引

@property (nonatomic, assign) NSUInteger currentIndex

Declared In

TuSDKPFPhotoPreviewController.h

  selectedItems

选中的单元列表

@property (nonatomic, strong) NSMutableArray<TuSDKTSPhotosGridCellData*> *selectedItems

Declared In

TuSDKPFPhotoPreviewController.h

  group

当前选中相册组

@property (nonatomic, retain) id<TuSDKTSAssetsGroupInterface> group

Declared In

TuSDKPFPhotoPreviewController.h

  delegate

预览视图控制器代理

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

Declared In

TuSDKPFPhotoPreviewController.h