FWImageAlbumControllerDelegate
@protocol FWImageAlbumControllerDelegate <NSObject>
相册列表事件代理
-
需提供FWImagePickerController 用于展示九宫格图片列表
Declaration
Objective-C
- (nonnull FWImagePickerController *)imagePickerControllerForAlbumController: (nonnull FWImageAlbumController *)albumController; -
点击相簿里某一行时被调用,未实现时默认打开imagePickerController
Declaration
Objective-C
- (void)albumController:(nonnull FWImageAlbumController *)albumController didSelectAssetsGroup:(nonnull FWAssetGroup *)assetsGroup; -
自定义相册列表cell展示,cellForRow自动调用
Declaration
Objective-C
- (void)albumController:(nonnull FWImageAlbumController *)albumController customCell:(nonnull FWImageAlbumTableCell *)cell atIndexPath:(nonnull NSIndexPath *)indexPath; -
取消查看相册列表后被调用,未实现时自动转发给当前imagePickerController
Declaration
Objective-C
- (void)albumControllerDidCancel: (nonnull FWImageAlbumController *)albumController; -
即将需要显示 Loading 时调用,可自定义Loading效果
Declaration
Objective-C
- (void)albumControllerWillStartLoading: (nonnull FWImageAlbumController *)albumController; -
需要隐藏 Loading 时调用,可自定义Loading效果
Declaration
Objective-C
- (void)albumControllerDidFinishLoading: (nonnull FWImageAlbumController *)albumController; -
相册列表未授权时调用,可自定义空界面等
Declaration
Objective-C
- (void)albumControllerWillShowDenied: (nonnull FWImageAlbumController *)albumController; -
相册列表为空时调用,可自定义空界面等
Declaration
Objective-C
- (void)albumControllerWillShowEmpty: (nonnull FWImageAlbumController *)albumController;
FWImageAlbumControllerDelegate Protocol Reference