SIAlertView
SIAlertView是AlertView的替代产品 的效果比较多 。
使用实例:
SIAlertView *alertView = [[SIAlertView alloc] initWithTitle:@"" andMessage:@"选择实名认证的银行卡类型"];
[alertView addButtonWithTitle:@"借记卡" type:SIAlertViewButtonTypeDefault handler:^(SIAlertView *alertView) {
ABAuthorViewController *ab = [[ABAuthorViewController alloc]init];
ab.hidesBottomBarWhenPushed = YES;
ab.isForAuthen = YES;
[self.navigationController pushViewController:ab animated:YES];
}];
[alertView addButtonWithTitle:@"信用卡" type:SIAlertViewButtonTypeDefault handler:^(SIAlertView *alertView) {
CAuthorViewController *ab = [[CAuthorViewController alloc]init];
ab.hidesBottomBarWhenPushed = YES;
ab.isForAuthen = YES;
[self.navigationController pushViewController:ab animated:YES];
}];
[alertView addButtonWithTitle:@"取消"
type:SIAlertViewButtonTypeCancel
handler:^(SIAlertView *alertView) {
}];
alertView.willShowHandler = ^(SIAlertView *alertView) {
};
alertView.didShowHandler = ^(SIAlertView *alertView) {
};
alertView.willDismissHandler = ^(SIAlertView *alertView) {
};
alertView.didDismissHandler = ^(SIAlertView *alertView) {
};
[alertView show];
最新文章
- Android中Intent的用法总结
- 前端rem单位的使用研究
- itextpdf JAVA 输出PDF文档
- 数组、单链表和双链表介绍 以及 双向链表的C/C++/Java实现
- java位运算符常见用法
- Core Data 版本数据迁移
- IOS 应用 退出的一个小方法
- 再回首,Java温故知新(八):Java基础之字符串
- Spring_构造注入
- 2017 ICPC区域赛(西安站)--- J题 LOL(DP)
- Python读写txt文件时的编码问题
- git status -s命令解析
- Shiro笔记(二)身份验证
- Linux内核移植到JZ2440
- 固定高度div,随内容自动变高css定义方法
- Day21 过滤器(Filter)
- Android ProgressBar 进度条荧光效果
- 使用Spring的HttpInvoker
- 【转】Encrypt ConnectionString in Web.Config 【加密ASP.NET web.config数据库链接字串】
- 浅谈PVC塑料配方计算软件的设计
热门文章
- Day03 - Python 函数
- 打造强大的BaseModel(1):让Model自我描述
- How to solve GM MDI cannot complete the installation
- SQL学习笔记
- 【排障】Outlook Express 2G收件箱大小限制
- Windows环境下使用Apache+mod_wsgi部署webpy
- (原创)openvswitch实验连载2-cisco模拟器IOU-Web安装及网络环境配置
- system.badimageformatexception 未能加载文件或程序集
- CSS经典布局-圣杯布局、双飞翼布局
- 关于H5中的Canvas API的探索