UGCKitImageScrollerViewController.h 517 B

12345678910111213141516
  1. // Copyright (c) 2019 Tencent. All rights reserved.
  2. #import <UIKit/UIKit.h>
  3. #import <Photos/Photos.h>
  4. NS_ASSUME_NONNULL_BEGIN
  5. @interface UGCKitImageScrollerViewController : UICollectionViewController
  6. @property (strong, nonatomic) UIImage *closeIcon;
  7. @property (nullable, copy, nonatomic) void(^onRemoveHandler)(NSUInteger index);
  8. - (instancetype)initWithImageManage:(PHCachingImageManager *)imageManager;
  9. - (void)addAsset:(PHAsset *)asset;
  10. - (void)removeAssetAtIndex:(NSUInteger)index;
  11. @end
  12. NS_ASSUME_NONNULL_END