iOS一行代码搞定自定义AlertView

2021-10-03  本文已影响0人  Turboks

效果图走一走:

使用方式:

 pod  'KSAlertView'

举例使用,单按钮Alert:

 [[[KSAlertView alloc] initWithTitle:@"Title" message:@"Message" otherBtnTitle:@"other" clickIndexBlock:^(NSInteger index) {

 }]show];

代码链接,可以下载下来修改成自己喜欢的样式,随意使用:

https://github.com/Turboks/KSAlertView

上一篇 下一篇

猜你喜欢

热点阅读