The intended display orientation of the image. If present, this key is a CFNumber value.
SDKs
- iOS 4.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Image I/O
Declaration
let kCGImagePropertyOrientation: CFString
Discussion
The numeric value for this key encodes the intended display orientation for the image according to the TIFF and Exif specifications. See the CGImage
type for possible values and their meanings.