Returns a new image created by transforming the original image to the specified EXIF orientation.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- Core Image
An integer specifying an image orientation according to the EXIF specification. For details, see
CGImage Property Orientation
An image object representing the result of rotating or mirroring the image to the target orientation.
This method determines and then applies the transformation needed to reorient the image to the specified orientation. If you plan to also apply other transformations, you can retrieve the transformation this method would use by calling the