GeeV2PFPhotoPreviewController Class Reference

Inherits from TuSDKPFPhotoPreviewControllerBase
Conforms to GeeV2PFPhotoGridPreviewProtocol
Declared in GeeV2PFPhotoPreviewController.h

Overview

相册预览控制器

  defaultStyleView

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

@property (nonatomic, readonly) GeeV2PFPhotoPreview *defaultStyleView

Declared In

GeeV2PFPhotoPreviewController.h

  viewClazz

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

@property (nonatomic, strong) Class viewClazz

Declared In

GeeV2PFPhotoPreviewController.h

  photosViewClazz

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

@property (nonatomic, strong) Class photosViewClazz

Declared In

GeeV2PFPhotoPreviewController.h

  cellViewClazz

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

@property (nonatomic, strong) Class cellViewClazz

Declared In

GeeV2PFPhotoPreviewController.h

  maxSelectionNumber

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

@property (nonatomic, assign) NSUInteger maxSelectionNumber

Declared In

GeeV2PFPhotoPreviewController.h

  maxSelectionImageSize

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

@property (nonatomic, assign) CGSize maxSelectionImageSize

Declared In

GeeV2PFPhotoPreviewController.h

  photosSortKeyType

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

@property (nonatomic, assign) lsqAssetSortKeyType photosSortKeyType

Declared In

GeeV2PFPhotoPreviewController.h

  currentIndex

用户点击的图片的索引

@property (nonatomic, assign) NSUInteger currentIndex

Declared In

GeeV2PFPhotoPreviewController.h

  selectedItems

选中的单元列表

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

Declared In

GeeV2PFPhotoPreviewController.h

  group

当前选中相册组

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

Declared In

GeeV2PFPhotoPreviewController.h

  delegate

预览视图控制器代理

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

Declared In

GeeV2PFPhotoPreviewController.h