FloatingWindow.h 512 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // FloatingWindow.h
  3. // AIIM
  4. //
  5. // Created by gan on 2025/7/9.
  6. //
  7. #ifndef FloatingWindow_h
  8. #define FloatingWindow_h
  9. #endif /* FloatingWindow_h */
  10. #import <UIKit/UIKit.h>
  11. @interface FloatingWindow : UIWindow
  12. @property (nonatomic, copy) void (^onSuccess)(void);
  13. @property (nonatomic, copy) void (^onSuccessWithSecurity)(void);
  14. @property (nonatomic, copy) void (^onCancel)(void);
  15. - (void)show:(NSInteger)type;
  16. - (void)showView:(UIView *)view;
  17. - (void)hide;
  18. -(void)viewInFload:(NSInteger)type;
  19. @end