A Swift package that wraps an Objective-C helper for ReplayKit Broadcast Upload Extensions. It allows you to finish broadcasts gracefully without showing an error or to present a custom error message.
If you found this helpful, you can support more open source work!

Add the package through Swift Package Manager using this repository's URL. Import BroadcastUploadExtensionHelper in your extension target:
import BroadcastUploadExtensionHelperFrom your RPBroadcastSampleHandler subclass you can end the broadcast:
sampleHandler.finishGracefully() // End normally without and error alert
samplehandler.finishWithError(message: "Oops") // End with an error alert