# Share screen not working using custom uI

**URL:** <https://devforum.zoom.us/t/share-screen-not-working-using-custom-ui/59453>\
**Category:** iOS\
**Created:** [October 27, 2021, 12:45pm UTC](https://devforum.zoom.us/t/share-screen-not-working-using-custom-ui/59453 "2021-10-27T12:45:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajendra.atluri92](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rajendra.atluri92/32/2661_2.png) [@rajendra.atluri92](https://devforum.zoom.us/u/rajendra.atluri92)\
**Post date:** [October 27, 2021, 12:45pm UTC](https://devforum.zoom.us/t/share-screen-not-working-using-custom-ui/59453/1 "2021-10-27T12:45:59Z")

</div>

Screen share is not working using the custom meeting ui but iam done with screen share process using this [https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/in-meeting-function/screen-share](https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/in-meeting-function/screen-share)  
problem is:  
when Iam calling startappshare method iam not getting anything in my app side  
please send me any links for screen share or send me some code regarding screen share using custom metting thanks

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [October 28, 2021, 12:29am UTC](https://devforum.zoom.us/t/share-screen-not-working-using-custom-ui/59453/2 "2021-10-28T00:29:17Z")

</div>

Hey @rajendra.atluri92,

Thanks for using the dev forum!

Are you trying to share a single view or your whole screen?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![rajendra.atluri92](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rajendra.atluri92/32/2661_2.png) [@rajendra.atluri92](https://devforum.zoom.us/u/rajendra.atluri92)\
**Post date:** [October 28, 2021, 3:21am UTC](https://devforum.zoom.us/t/share-screen-not-working-using-custom-ui/59453/3 "2021-10-28T03:21:50Z")

</div>

i will try to share whole screen and single screen with the button action.

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [October 28, 2021, 8:46pm UTC](https://devforum.zoom.us/t/share-screen-not-working-using-custom-ui/59453/4 "2021-10-28T20:46:26Z")

</div>

Hey @rajendra.atluri92,

I see, so are you using a broadcast extension? To share the entire view you will need to use a broadcast extension and not appShareWithView.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![rajendra.atluri92](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rajendra.atluri92/32/2661_2.png) [@rajendra.atluri92](https://devforum.zoom.us/u/rajendra.atluri92)\
**Post date:** [October 29, 2021, 5:51am UTC](https://devforum.zoom.us/t/share-screen-not-working-using-custom-ui/59453/5 "2021-10-29T05:51:59Z")

</div>

yes iam using broadcast extension view even appsharewit view also not working

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [October 29, 2021, 6:56pm UTC](https://devforum.zoom.us/t/share-screen-not-working-using-custom-ui/59453/6 "2021-10-29T18:56:13Z")

</div>

Hey @rajendra.atluri92,

When using the broadcast extension route, are you starting the broadcast using the record button in control center? One other thing to mention is that broadcast extensions do not work when using a simulator.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![rajendra.atluri92](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rajendra.atluri92/32/2661_2.png) [@rajendra.atluri92](https://devforum.zoom.us/u/rajendra.atluri92)\
**Post date:** [October 29, 2021, 8:00pm UTC](https://devforum.zoom.us/t/share-screen-not-working-using-custom-ui/59453/7 "2021-10-29T20:00:19Z")

</div>

How to share single view please send me some code using custom UI

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [November 1, 2021, 7:19pm UTC](https://devforum.zoom.us/t/share-screen-not-working-using-custom-ui/59453/8 "2021-11-01T19:19:05Z")

</div>

Hey @rajendra.atluri92,

Here is some example code that is provided in the sample application:

```auto
- (void)startOrStopAppShare
{
    MobileRTCMeetingService *ms = [[MobileRTC sharedRTC] getMeetingService];
    if (ms) {
        if (ms.isStartingShare) {
            [ms stopAppShare];
        } else {
            [ms startAppShare];
        }
    }
}

- (void)appShareWithView:(UIView *)view
{
    [[[MobileRTC sharedRTC] getMeetingService] appShareWithView:view];
}

```

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [December 2, 2021, 5:19am UTC](https://devforum.zoom.us/t/share-screen-not-working-using-custom-ui/59453/9 "2021-12-02T05:19:06Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
