UIActionSheet的使用
2015-06-20 23:34
519 查看
//UIActionSheet————————————————————————————————————————————————————————————————
- (void) showInfo:(NSNotification *) notice{
// NSLog(@"键盘马上出来了,%@",notice.userInfo);
// UIActionSheet * action=[[UIActionSheet alloc] initWithTitle:str delegate:self cancelButtonTitle:@"cancle" destructiveButtonTitle:@"destructive" otherButtonTitles: @"bt1",@"bt2",@"bt3",@"bt4",nil];
// [action showInView:self.view];
}
//UIActionSheet代理方法
- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex
{
// NSLog(@"%li", buttonIndex);
}
- (void) showInfo:(NSNotification *) notice{
// NSLog(@"键盘马上出来了,%@",notice.userInfo);
// UIActionSheet * action=[[UIActionSheet alloc] initWithTitle:str delegate:self cancelButtonTitle:@"cancle" destructiveButtonTitle:@"destructive" otherButtonTitles: @"bt1",@"bt2",@"bt3",@"bt4",nil];
// [action showInView:self.view];
}
//UIActionSheet代理方法
- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex
{
// NSLog(@"%li", buttonIndex);
}
相关文章推荐
- request操作的几个容易混淆的请求路径
- UICollectionView 的使用详解
- 【BC#24 1002 HDOJ 5273】Dylans loves sequence
- java queue 实战
- continue:结束本次循环,继续下一次循环
- AndroidStudio新建项目时一直处于building“xxx”gradle project info状态
- 隐藏指定的UIView区域
- 自己实现基于key-value的NoSQL数据库(三)—— B+树和Hash算法
- @requestparam怎么用
- 机房重构--UI设计与单例思考
- Java并发编程-31-阻塞式优先级列表-PriorityBlockingQueue
- hdu 5273 Dylans loves sequence
- HDU 5273 Dylans loves sequence(区间DP)
- UISegmentedControl的详细使用
- hdu 5273 Dylans loves sequence
- UVa1152 - 4 Values whose Sum is 0(hash)
- UVa1605 - Building for UN(构造)
- GitLab:解决Merge Request中Commits不更新的问题
- ABP 初探 之基于EasyUI的CURD
- Ubuntu12.04配置vnc远程桌面,解决Could not acquire name on session bus问题