SPSBPreviewViewController.h 726 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // SPSBPreviewViewController.h
  3. // 我的社保
  4. //
  5. // Created by shanp on 2021/5/18.
  6. //
  7. #import <UIKit/UIKit.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. @interface SPSBPreviewConfiguration : NSObject
  10. @property (nonatomic, assign) CGFloat spsb_cornerRadius;
  11. @property (nonatomic, strong, nullable) NSArray *spsb_images;
  12. @end
  13. @interface SPSBPreviewViewController : UIViewController
  14. @property (nonatomic, assign) bool spsb_previewing;
  15. @property (nonatomic, assign) NSUInteger spsb_maxPreview;
  16. @property (nonatomic, strong) CGRect(^spsb_getOriginalRect)(NSInteger index);
  17. - (void)showWithConfiguration:(SPSBPreviewConfiguration *)configuration currentImage:(UIImage *)currentImage index:(NSInteger)index;
  18. @end
  19. NS_ASSUME_NONNULL_END