LLXAlertPop
查看次数:1977
下载次数:565
上传时间:2018-03-06
大小:868 B
一个UIView的分类完成的弹出列表,使用简单一句代码直接调用
代码地址:https://github.com/lilinxuan/LLXAlertPop
/**
* array :弹出的选项标题
* textColor :选项标题的字体颜色
* font :选项标题的字体
* 取消 按钮字体请到.m文件自行设置。默认黑色-16号
**/
[self.view createAlertViewTitleArray:arrayTitle textColor:[UIColor orangeColor] font:[UIFont systemFontOfSize:16] actionBlock:^(UIButton * _Nullable button, NSInteger didRow) {
//获取点击事件
NSLog(@"%@,%ld",button.currentTitle,(long)didRow);
}];
如果对您有用请到github上点个 star ,谢谢咯~
收藏