UIViewController+TZImagePickerController.h 696 B

1234567891011121314151617181920
  1. //
  2. // UIViewController+TZImagePickerController.h
  3. // Extension
  4. //
  5. // Created by CY on 2022/8/24.
  6. //
  7. #import <UIKit/UIKit.h>
  8. #import <TZImagePickerController/TZImagePickerController.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface UIViewController (TZImagePickerController)
  11. - (void)showImagePickerWithStyleBlock:(void (^)(TZImagePickerController *imagePicker))styleBlock finishBlock:(void (^)(NSArray<UIImage *> *photos,NSArray *assets,BOOL isSelectOriginalPhoto))finishBlock;
  12. - (void)showVideoPickerWithStyleBlock:(void (^)(TZImagePickerController *imagePicker))styleBlock finishBlock:(void (^)(UIImage * coverImage, NSString *outputPath, NSString *errorMsg))finishBlock;
  13. @end
  14. NS_ASSUME_NONNULL_END