Swift 基本控件UIAlertView学习
来源:互联网 发布:python网络爬虫是什么 编辑:程序博客网 时间:2024/05/22 00:40
let alertView = UIAlertView() alertView.title = "系统提示" alertView.message = "您确定要离开hangge.com吗?" alertView.addButtonWithTitle("取消") alertView.addButtonWithTitle("确定") alertView.cancelButtonIndex=0 alertView.delegate=self; alertView.show()func alertView(alertView:UIAlertView, clickedButtonAtIndex buttonIndex: Int){ if(buttonIndex==alertView.cancelButtonIndex){ print("点击了取消") } else { print("点击了确认") } }
0 0
- Swift 基本控件UIAlertView学习
- 基本控件:UIAlertView
- Swift 基本控件UISlider学习
- ios基本控件之UIAlertView
- UI基本控件-UILabel-UITextField-UIButton-UIAlertView
- swift基本控件使用
- Swift-iOS常用控件(UIAlertView警告视图)
- 2、swift学习-创建基本的控件
- Swift基本语法与控件
- swift学习---基本数据类型
- Swift UIAlertView/UIActionSheet
- Swift 之 UIAlertView
- 学习笔记--两个UIView之间跳转、tag,UIAlertView基本使用
- IPHONE应用开发 - 开发常用控件:UIActionSheet和UIAlertView学习
- IPHONE应用开发 - 开发常用控件:UIActionSheet和UIAlertView学习
- Swift学习笔记|swift基本语法
- UIKit框架-高级控件Swift版本: 6.UIAlertView方法/属性详解
- swift学习二:基本语法
- Android 蓝牙的使用(待续)
- SI2302低压MOS管- 场效应管SI2302低压管
- 堆
- goroutine 小问题
- CSS布局模型
- Swift 基本控件UIAlertView学习
- 【智能路由器】openwrt创建用户软件包
- java和android的基础
- OpenVirtualization otzon 学习笔记
- ngnix的安装小记
- mm编译 问题
- VS生成DLL没有生成LIB文件的解决方法
- JVM系列之JVM体系(一)
- bzoj 4134 ljw和lzr的hack比赛