---
title: "sessionControlsWillExitFullscreenAppearance(_:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avcapturesessioncontrolsdelegate/sessioncontrolswillexitfullscreenappearance(_:)"
---

# sessionControlsWillExitFullscreenAppearance(_:)

Tells the delegate when a capture session’s controls are about to exit a fullscreen appearance.

## Declaration

```swift
func sessionControlsWillExitFullscreenAppearance(_ session: AVCaptureSession)
```

## Parameters

- `session`: The capture session with controls that are exiting a fullscreen appearance.

## Discussion

Discussion When your app receives this callback, it should resume showing portions of the interface it hid when controls entered a fullscreen appearance. The system calls this method before sessionControlsDidBecomeInactive(_:).

## See Also

### Responding to control events

- [sessionControlsDidBecomeActive(_:)](avfoundation/avcapturesessioncontrolsdelegate/sessioncontrolsdidbecomeactive(_:).md)
- [sessionControlsWillEnterFullscreenAppearance(_:)](avfoundation/avcapturesessioncontrolsdelegate/sessioncontrolswillenterfullscreenappearance(_:).md)
- [sessionControlsDidBecomeInactive(_:)](avfoundation/avcapturesessioncontrolsdelegate/sessioncontrolsdidbecomeinactive(_:).md)
