JLChen
2021-11-04 1443556e9ccb1a19ed8e6710c16c8adc4d4f4fb3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//
//  Copyright © 2019 dahua. All rights reserved.
//
 
#import "LCUIKit.h"
 
NS_ASSUME_NONNULL_BEGIN
 
@interface LCActionSheetView : UIView
 
/**
 弹出ActionSheet
 
 @param itemsList 按钮的文字数组,数组长度最大为 6
 @param itemColor 按钮的文字颜色(16进制)
 @param view 加到视图上
 @param success 接口调用成功的回调函数
 @param cancle 接口调用失败的回调函数
 @param complete 接口调用结束的回调函数(调用成功、失败都会执行)
 */
+(instancetype)lc_ShowActionView:(NSArray *)itemsList ToView:(UIView *)view ItemColor:(nullable NSString *)itemColor Success:(void(^)(NSInteger index))success Cancle:(void(^)(void))cancle Complete:(void(^)(void))complete;
 
 
-(void)dismiss;
 
@end
 
NS_ASSUME_NONNULL_END