ios开发调用摄像头代码
2014-11-18来源:易贤网

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技术专栏

推荐信息