ASDefualtAlertV.h 519 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // ASDefualtAlertV.h
  3. // Asteria
  4. //
  5. // Created by iOS on 2023/6/17.
  6. //
  7. #import <UIKit/UIKit.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. typedef enum : NSUInteger {
  10. ASAlertWidthStyleLittle, // w:180 defualt
  11. ASAlertWidthStyleMiddle, // w:230
  12. ASAlertWidthStyleAlignScreen, // screenWidth - 60
  13. } ASAlertWidthStyle;
  14. @interface ASDefualtAlertV : UIView
  15. @property (nonatomic, copy) btnClickBlock closeAction;
  16. - (void)setMsg:(NSString *)msg;
  17. - (void)setViewStyle:(ASAlertWidthStyle)style;
  18. @end
  19. NS_ASSUME_NONNULL_END