ios开发调用摄像头代码
ios开发调用摄像头代码
发布时间:2015-06-05 来源:查字典编辑
摘要:UIActionSheet*actionSheet=[[UIActionSheetalloc]initWithTitle:@""delega...

UIActionSheet *actionSheet=[[UIActionSheet alloc] initWithTitle:@"" delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:nil otherButtonTitles:@"Take Photo",@"Choose From Library",nil];

actionSheet.actionSheetStyle=self.navigationController.navigationBar.barStyle;

[actionSheet showInView:self.view.superView]

[actionSheet release];

推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
相关阅读
网友关注
最新IOS开发学习
热门IOS开发学习
编程开发子分类