ios开发调用摄像头代码
2015-01-22来源:易贤网

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];

更多信息请查看IT技术专栏

推荐信息