SLShotViewController.h 504 B

12345678910111213141516171819202122
  1. //
  2. // SLShotViewController.h
  3. // DarkMode
  4. //
  5. // Created by wsl on 2019/9/18.
  6. // Copyright © 2019 wsl. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. typedef void(^TakePhotoBlock)(UIImage * _Nullable image);
  11. /// 拍摄视图控制器
  12. @interface SLShotViewController : UIViewController
  13. @property (nonatomic, strong) TakePhotoBlock takePhotoBlock;
  14. @property (nonatomic, assign) BOOL isCheckBody;
  15. - (void)initTakePhotoBlock:(TakePhotoBlock)block;
  16. @end
  17. NS_ASSUME_NONNULL_END