ReplayRecorder

Record screen using ReplayKit. Support export video file, filter and crop.

MIT License

Stars
7
Committers
1

Usage

let configuration: Configuration = Configuration()
let recorder = ReplayRecorder(configuration: configuration)
recorder.cropRect = CGRect(x: 0.2, y: 0.2, width: 0.5, height: 0.5)
recorder.filter = CIFilter(name: "CISepiaTone")

...
recorder.startRecording()
...

recorder.stopRecording { (url, error) in
  // saved url
}

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

ReplayRecorder is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'ReplayRecorder'

Author

noppefoxwolf, [email protected]

License

ReplayRecorder is available under the MIT license. See the LICENSE file for more info.

Special Thanks

https://qiita.com/fromkk/items/7ce619528848986f27da