[ios开发调用摄像头代码] 调用摄像头失败
时间:2018-08-15 16:20:58 来源:写作资料库 本文已影响 人
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];