Thanks to Usman for the link. The attitude seems to be slightly different from what is offered on the blog. The 1.23 ratio works for iPhone 4 and 4s. In addition, in order to maintain aspect ratio, I suggest scaling both x and y.
picker = [[UIImagePickerController alloc] init]; picker.sourceType = sourceType; picker.delegate = self; picker.allowsEditing = NO; picker.showsCameraControls = NO; CGAffineTransform cameraTransform = CGAffineTransformMakeScale(1.23, 1.23); picker.cameraViewTransform = cameraTransform;
Rawmean
source share