TGCameraViewController
TGCameraViewController copied to clipboard
Select full image from photo gallery
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) }