Skip to content

Extension Changes

rohitphogat19 edited this page Mar 27, 2022 · 1 revision

To enable screen sharing, you have to add iOS native Broadcast Upload Extension.

  1. Click on File > New > Target

New Target

  1. Now select option Broadcast Upload Extension.

Broadcast Upload Extension

  1. Name your extension according to your choice. For e.g I have choose name as ScreenShareBroadcast. After that click on Finish.

New File ScreenShareBroadcast

  1. Now a popup will be shown to activate your scheme. Just click on Activate.

Activate Scheme

  1. Now a new target will be added to your project with name you have chosen in step 3.
  2. Now right-click on this new target and select new file.

New File Option

  1. Select file template as Swift file.

New File Option

  1. Name this file as AgoraService and click on create.

New File AgoraService

  1. Again repeat step 6 and add another file with name HandlerConstant.

New File HandlerConstant

  1. Now please check that you have these 3 files in this new target. Files are SampleHandler.swift, AgoraService.swift and HandlerConstant.swift.

Final Files list

Clone this wiki locally