LLXAlertPop
查看次数:2319
下载次数:629
上传时间:2018-03-07
大小:389 B
github地址:https://github.com/lilinxuan/LLXAlertPop
//样式一(更多样式请下载demo)
NSArray *arrayTitle = @[@"我是第一个",@"我是第二个"];
UIColor *color = [UIColor blueColor];
[self.view createAlertViewTitleArray:arrayTitle textColor:color font:[UIFont systemFontOfSize:16] actionBlock:^(UIButton * _Nullable button, NSInteger didRow) {
//获取点击事件
NSLog(@"%@,%ld",button.currentTitle,(long)didRow);
lab.text = [NSString stringWithFormat:@"%@,下标%ld",button.currentTitle,(long)didRow];
}];
如果对您有用请右上角点个 star,谢谢咯~ 如发现bug请lssues我~
收藏