提交
This commit is contained in:
26
QXLive/Base/QXAlertViewController.h
Normal file
26
QXLive/Base/QXAlertViewController.h
Normal file
@@ -0,0 +1,26 @@
|
||||
//
|
||||
// QXAlertViewController.h
|
||||
// QXLive
|
||||
//
|
||||
// Created by 启星 on 2025/4/27.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
typedef NS_ENUM(NSInteger) {
|
||||
///从底部向上弹出view 弹出形式类似于actionsheet
|
||||
PopViewTypeBottomToUpActionSheet = 0,
|
||||
///从中间弹出
|
||||
PopViewTypePopFromCenter,
|
||||
///从顶部向中间弹窗
|
||||
PopViewTypeTopToCenter,
|
||||
}PopViewType;
|
||||
@interface QXAlertViewController : UIViewController
|
||||
@property (nonatomic,strong)UIView *alertView;
|
||||
@property (nonatomic,assign)PopViewType popType;
|
||||
@property (nonatomic,assign)BOOL tapDismiss;
|
||||
-(void)hideViewFinishBlock:(void(^)(void))closeBlock;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user