diff --git a/Tusker/Screens/Compose/ComposeViewController.swift b/Tusker/Screens/Compose/ComposeViewController.swift index 783adaceb3..2b7b4fb2be 100644 --- a/Tusker/Screens/Compose/ComposeViewController.swift +++ b/Tusker/Screens/Compose/ComposeViewController.swift @@ -416,7 +416,7 @@ class ComposeViewController: UIViewController { options.deliveryMode = .highQualityFormat options.resizeMode = .none options.isNetworkAccessAllowed = true - PHImageManager.default().requestImageData(for: asset, options: options) { (data, dataUTI, orientation, info) in + PHImageManager.default().requestImageDataAndOrientation(for: asset, options: options) { (data, dataUTI, orientation, info) in guard let data = data, let dataUTI = dataUTI else { fatalError() } let mimeType = UTTypeCopyPreferredTagWithClass(dataUTI as CFString, kUTTagClassMIMEType)!.takeRetainedValue() as String