---
title: isLandscape
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiinterfaceorientation/islandscape
---

# isLandscape

A Boolean value that indicates whether the user interface is currently presented in a landscape orientation.

## Declaration

```swift
var isLandscape: Bool { get }
```

## Discussion

Discussion The interface orientation can be different than the device orientation. You typically call this function in your view controller code to check the current orientation.

## See Also

### Interface orientation

- [isPortrait](uikit/uiinterfaceorientation/isportrait.md)
