效果图走一走:
![](https://img.haomeiwen.com/i2361104/dc4d1eb3831633ec.gif)
使用方式:
pod 'KSAlertView'
举例使用,单按钮Alert:
[[[KSAlertView alloc] initWithTitle:@"Title" message:@"Message" otherBtnTitle:@"other" clickIndexBlock:^(NSInteger index) {
}]show];
代码链接,可以下载下来修改成自己喜欢的样式,随意使用:
效果图走一走:
使用方式:
pod 'KSAlertView'
举例使用,单按钮Alert:
[[[KSAlertView alloc] initWithTitle:@"Title" message:@"Message" otherBtnTitle:@"other" clickIndexBlock:^(NSInteger index) {
}]show];
代码链接,可以下载下来修改成自己喜欢的样式,随意使用:
本文标题:iOS一行代码搞定自定义AlertView
本文链接:https://www.haomeiwen.com/subject/jjuvnltx.html
网友评论