<!--
{
  "availability" : [
    "iOS: 9.0.0 - 27.0.0",
    "iPadOS: 9.0.0 - 27.0.0",
    "macCatalyst: 13.1.0 - 27.0.0",
    "macOS: 11.0.0 - 27.0.0",
    "tvOS: 10.0.0 - 27.0.0",
    "visionOS: 1.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "ReplayKit",
  "identifier" : "/documentation/ReplayKit/RPScreenRecorderDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "ReplayKit"
    ],
    "preciseIdentifier" : "c:objc(pl)RPScreenRecorderDelegate"
  },
  "title" : "RPScreenRecorderDelegate"
}
-->

# RPScreenRecorderDelegate

The protocol you implement to receive notifications from the screen recorder.

```
protocol RPScreenRecorderDelegate : NSObjectProtocol
```

## Overview

Use this class to respond to changes to the screen recorder, represented by an [`RPScreenRecorder`](/documentation/ReplayKit/RPScreenRecorder) object.

## Topics

### Responding to Recording Changes

[`screenRecorder(_:didStopRecordingWith:error:)`](/documentation/ReplayKit/RPScreenRecorderDelegate/screenRecorder(_:didStopRecordingWith:error:))

Indicates that the screen recording has stopped.

[`screenRecorderDidChangeAvailability(_:)`](/documentation/ReplayKit/RPScreenRecorderDelegate/screenRecorderDidChangeAvailability(_:))

Indicates that the recorder has changed states between disabled and enabled.

[`screenRecorder(_:didStopRecordingWithError:previewViewController:)`](/documentation/ReplayKit/RPScreenRecorderDelegate/screenRecorder(_:didStopRecordingWithError:previewViewController:))

Indicates that the screen recording has stopped.



---

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)