【swift系列之UIButton】简单使用
来源:互联网 发布:powerdesigner ubuntu 编辑:程序博客网 时间:2024/05/17 01:22
override func viewDidLoad() { super.viewDidLoad() let button = UIButton.buttonWithType(UIButtonType.System) as! UIButton button.frame = CGRectMake(100, 100, 80, 50) button.backgroundColor = UIColor.orangeColor() button.setTitle("选照片", forState: UIControlState.Normal) button.addTarget(self, action: "clickBtn:", forControlEvents: UIControlEvents.TouchUpInside) self.view.addSubview(button) } func clickBtn(sender:UIButton){ self.fromAlbum() }
0 0
- 【swift系列之UIButton】简单使用
- swift中UIButton的简单使用
- swift之UIButton
- Swift学习之UIButton
- Swift学习之UIButton
- Swift基础之UIButton
- swift UIButton使用
- swift UIButton的使用
- swift UIButton的使用
- swift 使用UIButton
- Swift系列之——UISearchBar的简单使用
- Swift之贪婪的UIButton
- Swift之贪婪的UIButton
- Swift之贪婪的UIButton
- swift中UIButton的使用
- swift中UIButton的使用
- Swift UIButton的使用详解
- UIButton的简单使用
- c语言中关键字的用法
- VIM使用技巧 ctags taglist
- P269 6
- linux环境下静态ip的设置
- 文件共享
- 【swift系列之UIButton】简单使用
- java 定时器
- 谨记:任何事都有两面性
- sprintf函数
- 219Contains Duplicate II
- 什么是渲染目标(render target)&& 渲染到纹理(Render To Texture, RTT)详解
- Java并发编程-01-线程的创建和线程信息获取
- mysql 常用命令总结
- oracle record is locked by another user