美文网首页
iOS一行代码搞定自定义AlertView

iOS一行代码搞定自定义AlertView

作者: Turboks | 来源:发表于2021-10-03 10:06 被阅读0次

效果图走一走:

使用方式:

 pod  'KSAlertView'

举例使用,单按钮Alert:

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

 }]show];

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

https://github.com/Turboks/KSAlertView

相关文章

网友评论

      本文标题:iOS一行代码搞定自定义AlertView

      本文链接:https://www.haomeiwen.com/subject/jjuvnltx.html