imageOrientation
The orientation of the receiver’s image.
Declaration
var imageOrientation: UIImage.Orientation { get }Discussion
Image orientation affects the way the image data is displayed when drawn. By default, images are displayed in the “up” orientation. If the image has associated metadata (such as EXIF information), however, this property contains the orientation indicated by that metadata. For a list of possible values for this property, see UIImage.Orientation.