ASHomeAlertWindow.h 456 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // ASHomeAlertWindow.h
  3. // Asteria
  4. //
  5. // Created by iOS on 2023/6/16.
  6. //
  7. #import <UIKit/UIKit.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. typedef enum : NSUInteger {
  10. ASAlertPositionTop,
  11. ASAlertPositionCenter,
  12. ASAlertPositionBottom,
  13. } ASAlertPosition;
  14. @interface ASHomeAlertWindow : UIWindow
  15. + (void)clearWindow;
  16. + (void)showCustomVc:(UIView *)v position:(ASAlertPosition)postion;
  17. + (void)alertMsg:(NSString *)message;
  18. @end
  19. NS_ASSUME_NONNULL_END