---
title: "enterFullScreenMode(_:withOptions:)"
framework: quicklookui
role: symbol
role_heading: Instance Method
path: "quicklookui/qlpreviewpanel/enterfullscreenmode(_:withoptions:)"
---

# enterFullScreenMode(_:withOptions:)

Instructs the panel to enter full screen mode.

## Declaration

```swift
func enterFullScreenMode(_ screen: NSScreen!, withOptions options: [AnyHashable : Any]! = [:]) -> Bool
```

## Parameters

- `screen`: This parameter isn’t currently used—pass nil.
- `options`: This parameter isn’t currently used—pass nil.

## Return Value

Return Value true if the panel was able to enter full screen mode; otherwise, false.

## Discussion

Discussion If the panel isn’t onscreen, the panel goes directly to full screen mode. The panel chooses the appropriate screen depending on where the panel is or, if entering fullscreen directly, where the panel zooms from.

## See Also

### Managing Full Screen Mode

- [exitFullScreenMode(options:)](quicklookui/qlpreviewpanel/exitfullscreenmode(options:).md)
- [isInFullScreenMode](quicklookui/qlpreviewpanel/isinfullscreenmode.md)
