关于调用摄像头代码

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

 

posted @ 2010-11-16 10:34  SsQq  阅读(777)  评论(0编辑  收藏  举报