WEB开发网
开发学院手机开发iPhone 开发 iPhone关于调用摄像头代码 阅读

iPhone关于调用摄像头代码

 2010-12-18 08:05:31 来源:WEB开发网   
核心提示:UIActionSheet *actionSheet=[[UIActionSheet alloc] initWithTitle:@"" delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:nil oth

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

Tags:iPhone 关于 调用

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接