zoukankan      html  css  js  c++  java
  • 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];

     

     

     

  • 相关阅读:
    bzoj4044/luoguP4762 [Cerc2014]Virus synthesis(回文自动机+dp)
    bzoj4032/luoguP4112 [HEOI2015]最短不公共子串(后缀自动机+序列自动机上dp)
    bzoj3926/luoguP3346 [Zjoi2015]诸神眷顾的幻想乡(trie上构建广义后缀自动机)
    bzoj3144 [HNOI2013]切糕(最小割)
    知识点简单总结——原根和指标
    uoj86 mx的组合数 (lucas定理+数位dp+原根与指标+NTT)
    rest_framework 学习笔记(一)
    Django 数据库操作
    02-Kubenetes资源
    10-Helm
  • 原文地址:https://www.cnblogs.com/zhaozhongpeng/p/4867755.html
Copyright © 2011-2022 走看看