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];

最新文章

  1. Android中Intent的用法总结
  2. 前端rem单位的使用研究
  3. itextpdf JAVA 输出PDF文档
  4. 数组、单链表和双链表介绍 以及 双向链表的C/C++/Java实现
  5. java位运算符常见用法
  6. Core Data 版本数据迁移
  7. IOS 应用 退出的一个小方法
  8. 再回首,Java温故知新(八):Java基础之字符串
  9. Spring_构造注入
  10. 2017 ICPC区域赛(西安站)--- J题 LOL(DP)
  11. Python读写txt文件时的编码问题
  12. git status -s命令解析
  13. Shiro笔记(二)身份验证
  14. Linux内核移植到JZ2440
  15. 固定高度div,随内容自动变高css定义方法
  16. Day21 过滤器(Filter)
  17. Android ProgressBar 进度条荧光效果
  18. 使用Spring的HttpInvoker
  19. 【转】Encrypt ConnectionString in Web.Config 【加密ASP.NET web.config数据库链接字串】
  20. 浅谈PVC塑料配方计算软件的设计

热门文章

  1. Day03 - Python 函数
  2. 打造强大的BaseModel(1):让Model自我描述
  3. How to solve GM MDI cannot complete the installation
  4. SQL学习笔记
  5. 【排障】Outlook Express 2G收件箱大小限制
  6. Windows环境下使用Apache+mod_wsgi部署webpy
  7. (原创)openvswitch实验连载2-cisco模拟器IOU-Web安装及网络环境配置
  8. system.badimageformatexception 未能加载文件或程序集
  9. CSS经典布局-圣杯布局、双飞翼布局
  10. 关于H5中的Canvas API的探索