# Facing issues in Share Screen

**URL:** <https://devforum.zoom.us/t/facing-issues-in-share-screen/7171>\
**Category:** iOS\
**Created:** [December 22, 2019, 4:58pm UTC](https://devforum.zoom.us/t/facing-issues-in-share-screen/7171 "2019-12-22T16:58:09Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![eduzoom\_1](https://avatars.discourse-cdn.com/v4/letter/e/9dc877/32.png) [@eduzoom\_1](https://devforum.zoom.us/u/eduzoom_1)\
**Post date:** [December 22, 2019, 4:58pm UTC](https://devforum.zoom.us/t/facing-issues-in-share-screen/7171/1 "2019-12-22T16:58:09Z")

</div>

Any one help me for share screen option is not showing. i am using swift 4

---

<div class="post-metadata">

**Author:** ![Murray\_Li](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/murray_li/32/58_2.png) [@Murray\_Li](https://devforum.zoom.us/u/Murray_Li)\
**Post date:** [December 24, 2019, 2:04am UTC](https://devforum.zoom.us/t/facing-issues-in-share-screen/7171/2 "2019-12-24T02:04:26Z")

</div>

Hi eduzoom\_1  
I don’t know exactly what your problem is.  
Can you describe your problem in detail so that we can help you locate it  
@carson.zoom can you help us follow up.  
Thanks.

---

<div class="post-metadata">

**Author:** ![eduzoom\_1](https://avatars.discourse-cdn.com/v4/letter/e/9dc877/32.png) [@eduzoom\_1](https://devforum.zoom.us/u/eduzoom_1)\
**Post date:** [December 24, 2019, 9:35am UTC](https://devforum.zoom.us/t/facing-issues-in-share-screen/7171/3 "2019-12-24T09:35:47Z")

</div>

![IMG_6291E2B87836-1](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/d/d75d11de8916d6f6d9be134ec778fce968fc0b95.jpeg)  
when i click the screen option in the share content it is not sharing .

---

<div class="post-metadata">

**Author:** ![Murray\_Li](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/murray_li/32/58_2.png) [@Murray\_Li](https://devforum.zoom.us/u/Murray_Li)\
**Post date:** [December 24, 2019, 10:36am UTC](https://devforum.zoom.us/t/facing-issues-in-share-screen/7171/4 "2019-12-24T10:36:25Z")

</div>

Hi [eduzoom\_1](https://devforum.zoom.us/u/eduzoom_1)  
If you did not respond to “share content”, please check whether the “- (BOOL)onClickedShareButton (UIViewController\*)parentVC addShareActionItem (NSMutableArray \*)array” The call back that’s your return is YES or NO.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/5/5c2de44c4c3ad9803a5c6d3072d8d3211aced20f.png)

If you did not respond to “share content” then pop up the alert option, click “Screen” and there is no response, check “- (void)onClickShareScreen:(UIViewController \* \_Nonnull)parentVC;” Whether to implement.

“Share screen” function, please refer to:[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)

---

<div class="post-metadata">

**Author:** ![eduzoom\_1](https://avatars.discourse-cdn.com/v4/letter/e/9dc877/32.png) [@eduzoom\_1](https://devforum.zoom.us/u/eduzoom_1)\
**Post date:** [December 24, 2019, 11:10am UTC](https://devforum.zoom.us/t/facing-issues-in-share-screen/7171/5 "2019-12-24T11:10:51Z")

</div>

Once i click the screen option from share content i am calling below function  
func onClickShareScreen(\_ parentVC: UIViewController) {  
let ms = MobileRTC.shared().getMeetingService()  
if ms != nil {  
if (ms?.isStartingShare())! {  
ms?.stopAppShare()  
print(“Stop Screen Sharing”)  
}  
else {  
ms?.startAppShare()  
// ms?.isDirectAppShareMeeting()  
print(“Start Screen Sharing”)  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![Murray\_Li](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/murray_li/32/58_2.png) [@Murray\_Li](https://devforum.zoom.us/u/Murray_Li)\
**Post date:** [December 25, 2019, 9:57am UTC](https://devforum.zoom.us/t/facing-issues-in-share-screen/7171/6 "2019-12-25T09:57:11Z")

</div>

Hi [eduzoom\_1](https://devforum.zoom.us/u/eduzoom_1)

- (void)onClickShareScreen:(UIViewController  
This call is for you to use as a guide. Normally, if you don’t need device share, you don’t need to implement this callback.

In addition，- (BOOL)startAppShare This method is used for custom UI, If you have zoom UI, you don’t normally need to use this method

- (BOOL)isDirectAppShareMeeting;  
This method will only return YES if the parameter isAppShare=YES is used in stat meeting.

It is recommended that you carefully read our usage documents and refer to our sample project before developing.

our usage documents:[https://marketplace.zoom.us/docs/sdk/native-sdks/iOS](https://marketplace.zoom.us/docs/sdk/native-sdks/iOS)  
our sample project:[https://github.com/zoom/zoom-sdk-ios](https://github.com/zoom/zoom-sdk-ios)

I hope it helps  
Thks

---

<div class="post-metadata">

**Author:** ![eduzoom\_1](https://avatars.discourse-cdn.com/v4/letter/e/9dc877/32.png) [@eduzoom\_1](https://devforum.zoom.us/u/eduzoom_1)\
**Post date:** [January 8, 2020, 2:33pm UTC](https://devforum.zoom.us/t/facing-issues-in-share-screen/7171/7 "2020-01-08T14:33:06Z")

</div>

i follwed your usage document still i don’t get the screen share.

---

<div class="post-metadata">

**Author:** ![eduzoom\_1](https://avatars.discourse-cdn.com/v4/letter/e/9dc877/32.png) [@eduzoom\_1](https://devforum.zoom.us/u/eduzoom_1)\
**Post date:** [January 8, 2020, 2:45pm UTC](https://devforum.zoom.us/t/facing-issues-in-share-screen/7171/8 "2020-01-08T14:45:05Z")

</div>

I am getting the screen option in the share content , when i click the screen option nothing happen.

---

<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:** [January 9, 2020, 2:11am UTC](https://devforum.zoom.us/t/facing-issues-in-share-screen/7171/9 "2020-01-09T02:11:46Z")

</div>

Hi [eduzoom\_1](https://devforum.zoom.us/u/eduzoom_1),

Thanks for the reply. The screen share button in the iOS SDK demo is not the same as the one in the Zoom iOS Client. Due to the security constraint from Apple, the screen sharing cannot be done with just one click. When the screen share button is clicked, the `onClickShareScreen` is triggered, it is used to show your user how to enable the screen broadcasting.

In order to perform screen sharing, you may refer to the instruction here: [https://support.zoom.us/hc/en-us/articles/115005890803-iOS-Screen-Sharing](https://support.zoom.us/hc/en-us/articles/115005890803-iOS-Screen-Sharing)

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:08pm UTC](https://devforum.zoom.us/t/facing-issues-in-share-screen/7171/10 "2020-08-21T19:08:49Z")

</div>


