---
title: visibleFrame
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsscreen/visibleframe
---

# visibleFrame

The current location and dimensions of the visible screen.

## Declaration

```swift
var visibleFrame: NSRect { get }
```

## Discussion

Discussion This rectangle defines the portion of the screen in which it is currently safe to draw your app’s content. The returned rectangle is always based on the current user-interface settings and does not include the area currently occupied by the dock and menu bar. On Macs that include a camera housing in the bezel, this rectangle does not include the bezel or the visible areas on either side of the bezel. Get those areas using the auxiliaryTopLeftArea and auxiliaryTopRightArea properties. Don’t cache the rectangle in this property; it is based on the current user-interface settings, which can change between calls. note: Even when dock hiding is enabled, the rectangle returned by this method may be smaller than the full screen. The system uses a small boundary area to determine when it displays the dock.

## See Also

### Related Documentation

- [frame](appkit/nsscreen/frame.md)

### Getting the Visible Portion of the Screen

- [safeAreaInsets](appkit/nsscreen/safeareainsets.md)
- [auxiliaryTopLeftArea](appkit/nsscreen/auxiliarytopleftarea-uglc.md)
- [auxiliaryTopRightArea](appkit/nsscreen/auxiliarytoprightarea-gr2n.md)
