<!--
{
  "availability" : [
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVKit",
  "identifier" : "/documentation/AVKit/AVPlayerViewDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "AVKit"
    ],
    "preciseIdentifier" : "c:objc(pl)AVPlayerViewDelegate"
  },
  "title" : "AVPlayerViewDelegate"
}
-->

# AVPlayerViewDelegate

A protocol that defines the methods to implement to participate in the player view’s full-screen presentation life cycle.

```
protocol AVPlayerViewDelegate : NSObjectProtocol
```

## Topics

### Responding to full-screen events

[`func playerViewWillEnterFullScreen(AVPlayerView)`](/documentation/AVKit/AVPlayerViewDelegate/playerViewWillEnterFullScreen(_:))

Tells the delegate that the player view is about to enter full-screen mode.

[`func playerViewDidEnterFullScreen(AVPlayerView)`](/documentation/AVKit/AVPlayerViewDelegate/playerViewDidEnterFullScreen(_:))

Tells the delegate that the player view entered full-screen mode.

[`func playerViewWillExitFullScreen(AVPlayerView)`](/documentation/AVKit/AVPlayerViewDelegate/playerViewWillExitFullScreen(_:))

Tells the delegate that the player view is about to exit full-screen mode.

[`func playerViewDidExitFullScreen(AVPlayerView)`](/documentation/AVKit/AVPlayerViewDelegate/playerViewDidExitFullScreen(_:))

Tells the delegate that the player view exited full-screen mode.

[`func playerView(AVPlayerView, restoreUserInterfaceForFullScreenExitWithCompletionHandler: (Bool) -> Void)`](/documentation/AVKit/AVPlayerViewDelegate/playerView(_:restoreUserInterfaceForFullScreenExitWithCompletionHandler:))

Tells the delegate to restore the app’s user interface when exiting full-screen mode.

## Relationships

### Inherits From

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)