UIActionSheet的常见用法
2015-08-24 16:11
399 查看
1.创建:(记得声明协议)
UIActionSheet *sheet = [[UIActionSheet alloc]initWithTitle:@"尝试" delegate:self cancelButtonTitle:@"取消" destructiveButtonTitle:@"确定" otherButtonTitles:@"第一项",@"第二项", nil];
UIActionSheet *sheet = [[UIActionSheet alloc]initWithTitle:@"尝试" delegate:self cancelButtonTitle:@"取消" destructiveButtonTitle:@"确定" otherButtonTitles:@"第一项",@"第二项", nil];
相关文章推荐
- poj 2051 priority_queue应用
- CF_313B_IlyaAndQueries
- 08-排序3. Talent and Virtue (25)
- 调用[[UIDevice currentDevice] userInterfaceIdiom]==UIUserInterfaceIdiomPad判断设备
- UE4 WorldPositionOffset
- 【已解决】Request exceeded the limit of 10 internal redirects due to probable configuration error.
- 关于UIView的autoresizingMask属性的研究
- UE3 供游戏性程序员的使用的性能最优化方法
- Codeforces 313B : Ilya and Queries
- UE4 Light Propagation Volumes
- poj--2778DNA Sequence+AC自动机+矩阵快速幂
- A Flexible New Technique for Camera Calibration
- IOS生成UUID
- [LeedCode OJ]#232 Implement Queue using Stacks
- [LeedCode OJ]#225 Implement Stack using Queues
- MSBuild 命令行编译项目且不包含pdb文件
- STL学习----入门(1)[deque]
- iOS:让UIView覆盖导航栏
- require.js
- iOS基础-高级视图-UITableView--静态单元格