
如何在从相机捕获照片或如何更改这些按钮的字体和颜色后跳过"重拍和使用"选项.
我们使用了以下代码
self.gimgPicker = [[GKImagePicker alloc] init];
self.gimgPicker.cropSize = CGSizeMake(310, 310);
self.gimgPicker.delegate = self;
self.gimgPicker.desiredSize = CGSizeMake(640, 640);
imgPicker = [[UIImagePickerController alloc] init];
// Set type to Photo Library if button at index is selected
if ([UIImagePickerController isSourceTypeAvailable: UIImagePickerControllerSourceTypeCamera]) {
self.gimgPicker.imagePickerController.sourceType = UIImagePickerControllerSourceTypeCamera;
[parentController presentModalViewController:self.gimgPicker.imagePickerController animated:YES];
}
Run Code Online (Sandbox Code Playgroud)