在ipad的ios8.0系统上,actionsheet上点击响应后如果调用了UIImagePickerController *picker = [[UIImagePickerController alloc] init];1 [self.controller presentViewControlle...
分类:
移动开发 时间:
2014-11-11 12:39:10
阅读次数:
204
如果在代码中调用加入actionsheet的功能1 UIActionSheet *actionSheet = [[UIActionSheet alloc]2 initWithTitle:nil3 ...
分类:
移动开发 时间:
2014-11-10 19:23:15
阅读次数:
202
iOS8之后,UIActionSheet改父于UIAlertController。带来了一丢丢兼容性的问题。比如在弹出的actionsheet中选择从相册选择图片或者拍照,之后弹出UIImagePickerController进行选择。在iOS8以前的方法里,直接在-(void) actionShe...
分类:
移动开发 时间:
2014-11-06 10:32:14
阅读次数:
142
设置颜色,平铺图片[UIColorcolorWithPatternImage:[UIImagep_w_picpathNamed:@"bg_actionSheet_panel.png"]];
分类:
其他好文 时间:
2014-11-03 01:30:41
阅读次数:
107
iOS开发UI篇—实现一个私人通讯录小应用(二)一、实现功能说明(1)点击注销按钮,弹出一个对话框,点击确定后移除当前栈顶的控制器,返回开始界面,点击取消,不做任何操作。注意:注销按钮的单击事件已经进行了连线。实现-(void)actionSheet:(UIActionSheet *)actionS...
分类:
移动开发 时间:
2014-11-02 22:13:45
阅读次数:
319
警告框(AlertView)时模态的,不关闭它就不能做其他事情,所以不是以下几种情况不应该随便使用。
1、应用不能继续运行。
如内存不足,没有网络。一般只需要一个按钮。
2、询问另一个解决方案。
不能运行时,询问是否可以用3G网络。
3、询问对操作的授权。
涉及到访问隐私信息的时候,需要用户授权,如位置、相册等。
操作表(ActionSheet)可以给用户提供多个选择。可以利...
分类:
移动开发 时间:
2014-10-20 17:20:30
阅读次数:
206
具体代码附文末。先演示一下怎么使用。 AlertView的情况 -?(void)creatAlertView
{
????UIAlertView?*alertView?=?[[UIAlertView?alloc]?initWithTitle:@"title"?message:@"message"?delegate:self?...
分类:
移动开发 时间:
2014-09-26 12:09:19
阅读次数:
1001
UIActionSheet *actionSheet = [[UIActionSheet alloc]initWithTitle:@"选择图片" delegate:(self) cancelButtonTitle:@"取消" destructiveButtonTitle:nil otherB...
分类:
其他好文 时间:
2014-09-13 21:26:35
阅读次数:
279
#pragma mark - actionSheet- (void)shareOrder:(NSDictionary *)product{ UIActionSheet *as = [[UIActionSheet alloc] initWithTitle:VIMILocalizedString(@"....
分类:
其他好文 时间:
2014-08-24 14:06:22
阅读次数:
225
-(void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex{ UIImagePickerController * picker = [[UIImagePickerControl...
分类:
移动开发 时间:
2014-08-05 13:29:29
阅读次数:
229