TGCameraViewController icon indicating copy to clipboard operation
TGCameraViewController copied to clipboard

Select full image from photo gallery

Open zoufishanmehdi opened this issue 6 years ago • 0 comments

Hi, I'm able to use original aspect to capture the full image as you can see in the code below. However, it doesn't apply to photo gallery when I click on it to select a picture from the gallery. As you can see in the screenshot below, the image from photo gallery still appears to be a square. How can I fix this? Really appreciate any input.

@IBAction func takePhotoTapped(_ sender: AnyObject) { let navigationController = TGCameraNavigationController.new(with: self) TGCamera.setOption("kTGCameraOptionUseOriginalAspect", value: true) self.present(navigationController!, animated: true, completion: nil) }

screen shot 2019-01-25 at 4 07 48 pm

screen shot 2019-01-25 at 4 00 51 pm

zoufishanmehdi avatar Jan 25 '19 21:01 zoufishanmehdi