Skip to content

mehmetbaykar/BroadcastUploadExtensionHelper

Repository files navigation

BroadcastUploadExtensionHelper

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.

Usage

Add the package through Swift Package Manager using this repository's URL. Import BroadcastUploadExtensionHelper in your extension target:

import BroadcastUploadExtensionHelper

From 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

About

A Swift package that wraps an Objective-C helper for ReplayKit Broadcast Upload Extensions.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •