# Screen share in Zoom iOS sdk

**URL:** <https://devforum.zoom.us/t/screen-share-in-zoom-ios-sdk/3722>\
**Category:** iOS\
**Created:** [March 25, 2019, 1:18pm UTC](https://devforum.zoom.us/t/screen-share-in-zoom-ios-sdk/3722 "2019-03-25T13:18:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![romitarora](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/romitarora/32/930_2.png) [@romitarora](https://devforum.zoom.us/u/romitarora)\
**Post date:** [March 25, 2019, 1:18pm UTC](https://devforum.zoom.us/t/screen-share-in-zoom-ios-sdk/3722/1 "2019-03-25T13:18:25Z")

</div>

Hello,  
i integrated zoom screen share feature in my app . Share screen button also showing but how can i present parent view controller that is mentioned in delegate method

- ( **void** )onClickShareScreen:(UIViewController\*)parentVC{ }  
Because zoom sdk UI is Already active and i am not able to present that parent view controller.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [March 26, 2019, 6:26am UTC](https://devforum.zoom.us/t/screen-share-in-zoom-ios-sdk/3722/2 "2019-03-26T06:26:31Z")

</div>

Hi romitarora,

Thanks for using Zoom SDK. For screen sharing, you can follow the instruction mentioned in the SDK doc: [https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/in-meeting-function/zoom-meeting-ui/screen-share](https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/in-meeting-function/zoom-meeting-ui/screen-share).

Regarding showing the parent view controller, you can call and load your own view inside the method `-(void)onClickShareScreen:(UIViewController*)parentVC{}`. With the parameter `parentVC` , you can use it to present your own view controller.

Let me know if you have any other questions. Thanks!

---

<div class="post-metadata">

**Author:** ![romitarora](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/romitarora/32/930_2.png) [@romitarora](https://devforum.zoom.us/u/romitarora)\
**Post date:** [March 26, 2019, 7:19am UTC](https://devforum.zoom.us/t/screen-share-in-zoom-ios-sdk/3722/3 "2019-03-26T07:19:06Z")

</div>

Hello Carson\_Chen  
Thanks for the reply.  
I implemented my custom view controller where broadcast button implemented . But now how can i share screen on my broadcast button click. Is there any function that enables screen share on button click.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [March 26, 2019, 5:02pm UTC](https://devforum.zoom.us/t/screen-share-in-zoom-ios-sdk/3722/4 "2019-03-26T17:02:30Z")

</div>

Hi,  
There is a method call `[startAppShare]`, please have a look at the sharing section in the doc: [https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/in-meeting-function/customized-in-meeting-ui/share](https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/in-meeting-function/customized-in-meeting-ui/share)

You can also refer to the implementation in the demo app: [https://github.com/zoom/zoom-sdk-ios/tree/master/MobileRTCSample](https://github.com/zoom/zoom-sdk-ios/tree/master/MobileRTCSample), the demo app shows the way to implement the screen sharing feature upon button click.

Thanks!🙂

---

<div class="post-metadata">

**Author:** ![romitarora](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/romitarora/32/930_2.png) [@romitarora](https://devforum.zoom.us/u/romitarora)\
**Post date:** [March 27, 2019, 7:05am UTC](https://devforum.zoom.us/t/screen-share-in-zoom-ios-sdk/3722/5 "2019-03-27T07:05:57Z")

</div>

I implemented startAppshare as implemented in demo but it does nothing it sharing only one view not full screen. I need the same as zoom does in screen sharing but with [startAppShare] method it does nothing. How can i implement same screen sharing as zoom does with help of zoom sdk?

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [March 27, 2019, 6:24pm UTC](https://devforum.zoom.us/t/screen-share-in-zoom-ios-sdk/3722/6 "2019-03-27T18:24:27Z")

</div>

Hi,  
Thanks for the reply. If you would like the same screen sharing feature like the zoom client (Sharing the whole screen instead of a view), you can follow the instruction in the doc to achieve that: [https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/in-meeting-function/zoom-meeting-ui/screen-share](https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/in-meeting-function/zoom-meeting-ui/screen-share). Please note that due to the screen sharing restriction from Apple, you must manually configure the broadcasting configuration on your device. The zoom client has the same requirement and behavior. [https://support.zoom.us/hc/en-us/articles/115005890803-iOS-Screen-Sharing](https://support.zoom.us/hc/en-us/articles/115005890803-iOS-Screen-Sharing)

Thanks!

---

<div class="post-metadata">

**Author:** ![guan\_bj](https://avatars.discourse-cdn.com/v4/letter/g/e480ec/32.png) [@guan\_bj](https://devforum.zoom.us/u/guan_bj)\
**Post date:** [February 25, 2020, 12:17pm UTC](https://devforum.zoom.us/t/screen-share-in-zoom-ios-sdk/3722/7 "2020-02-25T12:17:06Z")

</div>

Hi Carson  
I totally never understand what should I do in the function.  
(void)onClickShareScreen:(UIViewController\*)parentVC{}  
I think I never know what is the screen snapshot. and screen is dynamic which is switch according to user action.

in the sample project, I can’t find the sample code.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [February 27, 2020, 3:25am UTC](https://devforum.zoom.us/t/screen-share-in-zoom-ios-sdk/3722/8 "2020-02-27T03:25:44Z")

</div>

Hi [guan\_bj](https://devforum.zoom.us/u/guan_bj),

Thanks for the reply. You do not need to do anything in that function. You can follow the instruction [https://support.zoom.us/hc/en-us/articles/115005890803-iOS-Screen-Sharing](https://support.zoom.us/hc/en-us/articles/115005890803-iOS-Screen-Sharing) to open the screen recording feature and trigger the screen sharing. I understand you would like to have the same effect as the Zoom client, I am afraid that is not an SDK feature, you might need to use some workaround, such as [https://developer.apple.com/documentation/replaykit/rpsystembroadcastpickerview?language=objc](https://developer.apple.com/documentation/replaykit/rpsystembroadcastpickerview?language=objc) to achieve that.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 7:23pm UTC](https://devforum.zoom.us/t/screen-share-in-zoom-ios-sdk/3722/9 "2020-08-21T19:23:58Z")

</div>

Closed on August 21, 2020, 7:23pm UTC


