# Can't use the appShareWithView

**URL:** <https://devforum.zoom.us/t/cant-use-the-appsharewithview/56311>\
**Category:** iOS\
**Created:** [August 24, 2021, 3:40am UTC](https://devforum.zoom.us/t/cant-use-the-appsharewithview/56311 "2021-08-24T03:40:18Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![lemon97213](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lemon97213/32/30378_2.png) [@lemon97213](https://devforum.zoom.us/u/lemon97213)\
**Post date:** [August 24, 2021, 3:40am UTC](https://devforum.zoom.us/t/cant-use-the-appsharewithview/56311/1 "2021-08-24T03:40:18Z")

</div>

I am using the iOS SDK to make a function that can share in the meeting like share content in Zoom meeting.

I try to call the function “appShareWithView”, but it doesn’t work, not showing the image as share content.

The version of the Zoom SDK is v4.6.21666.0428.

I add the “appShareWithView” function in “onBtnClick” function, I tried [ms appShareWithView:myImageView] myImageView is a UIImageView  
and,  
[ms appShareWithView:self.splashVC.view] which is provided in the demo.  
However, both don’t work.

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/e/ce9a8d332378f856352537b906930175a978585e.png)

- Device: iPad, pro, air
- OS: iPadOS 13-15

---

<div class="post-metadata">

**Author:** ![lemon97213](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lemon97213/32/30378_2.png) [@lemon97213](https://devforum.zoom.us/u/lemon97213)\
**Post date:** [August 24, 2021, 3:40am UTC](https://devforum.zoom.us/t/cant-use-the-appsharewithview/56311/2 "2021-08-24T03:40:49Z")

</div>

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/7/672d2e93427529a72fa0640ac03f7b8b8019d84d.png)

---

<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:** [August 24, 2021, 7:42pm UTC](https://devforum.zoom.us/t/cant-use-the-appsharewithview/56311/3 "2021-08-24T19:42:20Z")

</div>

Hey @lemon97213,

Thanks for using the dev forum!

The version you are using is too outdated for developer support unfortunately. Can you update to the latest version available on the Zoom Marketplace?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![lemon97213](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lemon97213/32/30378_2.png) [@lemon97213](https://devforum.zoom.us/u/lemon97213)\
**Post date:** [August 25, 2021, 1:59am UTC](https://devforum.zoom.us/t/cant-use-the-appsharewithview/56311/4 "2021-08-25T01:59:40Z")

</div>

Thank you for help @Michael_Condon

---

<div class="post-metadata">

**Author:** ![lemon97213](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lemon97213/32/30378_2.png) [@lemon97213](https://devforum.zoom.us/u/lemon97213)\
**Post date:** [August 25, 2021, 2:00am UTC](https://devforum.zoom.us/t/cant-use-the-appsharewithview/56311/5 "2021-08-25T02:00:50Z")

</div>

I downloaded to newest version on Marketplace( v5.7.1.644), but same problem happen.

---

<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:** [August 26, 2021, 9:03pm UTC](https://devforum.zoom.us/t/cant-use-the-appsharewithview/56311/6 "2021-08-26T21:03:20Z")

</div>

Hey @lemon97213,

Awesome, thank you for doing that!

Can you elaborate on what happens when you try to share? Do you receive an error? Does anything happen?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![lemon97213](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lemon97213/32/30378_2.png) [@lemon97213](https://devforum.zoom.us/u/lemon97213)\
**Post date:** [August 27, 2021, 3:45am UTC](https://devforum.zoom.us/t/cant-use-the-appsharewithview/56311/7 "2021-08-27T03:45:40Z")

</div>

When I try to share, nothing happens, no error, I added NSLog to check the method had been called but nothing happens.

---

<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:** [August 27, 2021, 7:51pm UTC](https://devforum.zoom.us/t/cant-use-the-appsharewithview/56311/8 "2021-08-27T19:51:30Z")

</div>

Hey @lemon97213,

Is the callback onSinkMeetingActiveShare triggered after this function is called?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![lemon97213](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lemon97213/32/30378_2.png) [@lemon97213](https://devforum.zoom.us/u/lemon97213)\
**Post date:** [August 30, 2021, 3:03am UTC](https://devforum.zoom.us/t/cant-use-the-appsharewithview/56311/9 "2021-08-30T03:03:13Z")

</div>

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/d/dd2cab7c5158d3d3f4e97a0c327710eff026e14f.png)

I am trying to use this to do, but till now still doesn’t work.

I think I am using the original meetingView “[[[MobileRTC sharedRTC] getMeetingService] meetingView]”, not the CustomerUIView, is there any difference?

I also visit the Zoom SDK website ([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)), In the “Share Single View” function, I found that it mentions that the appShareWithView can only use with customUiView.

About onSinkMeetingActiveShare, I have added this in my mainViewcontroler but seen it had never been called.  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/5/d5ec57974e584162325586d034c8f2aef89d110d.png)

---

<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:** [August 30, 2021, 7:15pm UTC](https://devforum.zoom.us/t/cant-use-the-appsharewithview/56311/10 "2021-08-30T19:15:19Z")

</div>

Hey @lemon97213,

Is sharing enabled in your meeting?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![lemon97213](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lemon97213/32/30378_2.png) [@lemon97213](https://devforum.zoom.us/u/lemon97213)\
**Post date:** [August 31, 2021, 7:55am UTC](https://devforum.zoom.us/t/cant-use-the-appsharewithview/56311/11 "2021-08-31T07:55:27Z")

</div>

Hello @Michael_Condon ,

I am not so sure how to check is it enabled.

---

<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:** [August 31, 2021, 9:40pm UTC](https://devforum.zoom.us/t/cant-use-the-appsharewithview/56311/12 "2021-08-31T21:40:02Z")

</div>

Hey @lemon97213,

Try calling “startAppShare” and see what it returns.

Michael

---

<div class="post-metadata">

**Author:** ![lemon97213](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lemon97213/32/30378_2.png) [@lemon97213](https://devforum.zoom.us/u/lemon97213)\
**Post date:** [September 1, 2021, 3:36am UTC](https://devforum.zoom.us/t/cant-use-the-appsharewithview/56311/13 "2021-09-01T03:36:48Z")

</div>

Hello @Michael_Condon

I called “startAppShare” but nothing happens, no error, no log, nothing change.

Regards,  
Alex

---

<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:** [September 1, 2021, 5:25pm UTC](https://devforum.zoom.us/t/cant-use-the-appsharewithview/56311/14 "2021-09-01T17:25:29Z")

</div>

Hey @lemon97213,

That function returns a bool. True indicates success and false indicates failure.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![lemon97213](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lemon97213/32/30378_2.png) [@lemon97213](https://devforum.zoom.us/u/lemon97213)\
**Post date:** [September 2, 2021, 2:14am UTC](https://devforum.zoom.us/t/cant-use-the-appsharewithview/56311/15 "2021-09-02T02:14:46Z")

</div>

Hi @Michael_Condon ,

oh, sorrry i misunderstood that, It returned “false”.

Regards,  
Alex

---

<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:** [September 2, 2021, 9:40pm UTC](https://devforum.zoom.us/t/cant-use-the-appsharewithview/56311/16 "2021-09-02T21:40:02Z")

</div>

Hey @lemon97213,

When you called it, were you the host of the meeting?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![lemon97213](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lemon97213/32/30378_2.png) [@lemon97213](https://devforum.zoom.us/u/lemon97213)\
**Post date:** [September 3, 2021, 1:56am UTC](https://devforum.zoom.us/t/cant-use-the-appsharewithview/56311/17 "2021-09-03T01:56:32Z")

</div>

Hey @Michael_Condon

Yes, I am the host, but I am the only one in the meeting. but I have tried even to have participants in the meeting, it still returns false. Is there any sample except the zoom SDK one ([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)). Thank you so much for your help.

Regard,  
Alex

---

<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:** [September 7, 2021, 7:41pm UTC](https://devforum.zoom.us/t/cant-use-the-appsharewithview/56311/18 "2021-09-07T19:41:35Z")

</div>

Hey @lemon97213,

There is not, but I think I can create a sample application for you. Do you prefer Swift or Objective-C?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![lemon97213](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lemon97213/32/30378_2.png) [@lemon97213](https://devforum.zoom.us/u/lemon97213)\
**Post date:** [September 9, 2021, 2:10am UTC](https://devforum.zoom.us/t/cant-use-the-appsharewithview/56311/19 "2021-09-09T02:10:30Z")

</div>

Hello @Michael_Condon ,

Thank you so much, you are very kind. I prefer Objective-C. You save my life.

---

<div class="post-metadata">

**Author:** ![lemon97213](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lemon97213/32/30378_2.png) [@lemon97213](https://devforum.zoom.us/u/lemon97213)\
**Post date:** [September 17, 2021, 10:28am UTC](https://devforum.zoom.us/t/cant-use-the-appsharewithview/56311/20 "2021-09-17T10:28:27Z")

</div>

Hi @Michael_Condon ,

Sorry for interrupting you, but may I know how is it going? Thank you so much.

Regard,  
Alex LO

[Next page](https://devforum.zoom.us/t/cant-use-the-appsharewithview/56311.md?page=2)
