zoukankan      html  css  js  c++  java
  • ActionSheet & alertView

    ActionSheet:

    UIActionSheet *sheet = [[UIActionSheet alloc] initWithTitle:@"确定要注销?" delegate:self cancelButtonTitle:@"取消" destructiveButtonTitle:@"确定" otherButtonTitles:nil, nil];

     [sheet showInView:self.view];

    alertView    

        UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"数据展示" message:nil delegate:self cancelButtonTitle:@"取消" otherButtonTitles:@"确定", nil];

        // 设置对话框的类型

        alert.alertViewStyle = UIAlertViewStylePlainTextInput;

        // 取得唯一的那个文本框,显示英雄的名称

        [alert textFieldAtIndex:0].text = hero.name;

         [alert show];

  • 相关阅读:
    JZOJ.2117. 【2016-12-30普及组模拟】台风
    团队合作
    长沙游记
    统计
    html....
    OI之路
    三鑫普及组模拟赛
    牛顿迭代法
    台风
    gcd
  • 原文地址:https://www.cnblogs.com/bluceZ/p/3936073.html
Copyright © 2011-2022 走看看