ZOOM iOS SDK Screen Share

Hello, I am trying to integrate ZOOM sdk in my iOS app. I am able to join a video call but I can’t see a screen share option as I see in android. I also followed the documentation mentioned in https://github.com/zoom/zoom-sdk-ios/tree/master/MobileRTCSample/MobileRTCSampleScreenShare . Can you please provide a sample for screen share in iOS preferably in swift ? Also a elaboration of final step mentioned in link above (Response to Delegate & Present App Screen Share Usage Guide) would be helpful.

We only provide the sample in OC now.

Response to Delegate & Present App Screen Share Usage Guide:

Once App response to the delegate:  - (void)onClickShareScreen:(UIViewController*)parentVC (in MobileRTCMeetingDelegate.h), SDK would add screen share option in the share sheet.

So App need to respond to  to the delegate:  - (void)onClickShareScreen:(UIViewController*)parentVC (in MobileRTCMeetingDelegate.h), then APP can present your own usage guide viewcontroller here.

You can also refer to Zoom iOS Client Share screen guide. :slight_smile:

I have added reponse for that delegate method. Can you please provide link of Zoom iOS Client Share screen guide ? 

you can download Zoom iOS Meeting Client from the Apple store, then join one meeting, check the guide.

I have added the delegate method - (void)onClickShareScreen:(UIViewController*)parentVC (in MobileRTCMeetingDelegate.h), but can’t see the share screen option ? 

Hi~

You need to respond to this method and process the options you want.

You can refer to the Zoom Client

Thanks

only os version >= 11 support screen share feature. if you had add delegate method - (void)onClickShareScreen:(UIViewController*)parentVC (in MobileRTCMeetingDelegate.h), you would find one screen share item in share item in the bottom bar of the inmeeting ui.

It’s added but still not showing up.

1 Like

same problem here. Added delegare method, but the screen button still doesn’t show up

Hi shaobaili3,

Thanks for using Zoom SDK. Have you implement the callback onClickShareScreen?

/*!
 @brief Callback event that user clicks the sharing screen.
 @param parentVC Parent viewcontroller to present the view of Sharing Screen Usage Guide.
 @waring Application will present Share Screen Usage Guide.
 */
- (void)onClickShareScreen:(UIViewController*)parentVC;

You may refer to the doc for further info:https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/in-meeting-function/zoom-meeting-ui/screen-share

Thanks!

follow the document, I add broadcast and implement onClickShareScreen. I only see the Screen button, there is no anything shown out after click ‘Screen’. I am sure the root cause is I never implement valuable code in onClickShareScreen function.
Anyone has a sample code for onClickShareScreen ?

/*!
@brief Designated for user click share screen item.
@param parentVC parent viewcontroller to present Share Screen Usage Guide View.
@waring App would present Share Screen Usage Guide here.
*/

Hi guan_bj,

Thanks for the reply and the screenshot. If you followed the instructions in https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/in-meeting-function/zoom-meeting-ui/screen-share to develop the screen share, once you have everything ready, you may refer to the instruction here:https://support.zoom.us/hc/en-us/articles/115005890803-iOS-Screen-Sharing to trigger the sharing.

The way that the Zoom client is doing is not an SDK feature so I am afraid it needs some additional workaround for this.

Hope this helps. Thanks!