---
title: imageOrientation
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiimage/imageorientation
---

# imageOrientation

The orientation of the receiver’s image.

## Declaration

```swift
var imageOrientation: UIImage.Orientation { get }
```

## Discussion

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.

## See Also

### Accessing image attributes

- [UIImage.Orientation](uikit/uiimage/orientation.md)
- [flipsForRightToLeftLayoutDirection](uikit/uiimage/flipsforrighttoleftlayoutdirection.md)
- [resizingMode](uikit/uiimage/resizingmode-swift.property.md)
- [UIImage.ResizingMode](uikit/uiimage/resizingmode-swift.enum.md)
- [duration](uikit/uiimage/duration.md)
- [capInsets](uikit/uiimage/capinsets.md)
- [alignmentRectInsets](uikit/uiimage/alignmentrectinsets.md)
- [isSymbolImage](uikit/uiimage/issymbolimage.md)
