如何跳过“夺回,并使用”从相机captureing照片或如何改变这些按钮的字体和颜色后的选择。
我们用下面的代码
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];
}