关于调用摄像头代码

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

 

你可能感兴趣的:(代码)