小编Pal*_*avi的帖子

如何在从相机拍摄照片后跳过"重拍和使用"选项

在此输入图像描述

如何在从相机捕获照片或如何更改这些按钮的字体和颜色后跳过"重拍和使用"选项.

我们使用了以下代码

    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)

iphone camera objective-c ios

8
推荐指数
1
解决办法
4726
查看次数

标签 统计

camera ×1

ios ×1

iphone ×1

objective-c ×1