# canSwapToShowShareViewOrVideo not working again

**URL:** <https://devforum.zoom.us/t/canswaptoshowsharevieworvideo-not-working-again/44199>\
**Category:** macOS\
**Created:** [February 24, 2021, 9:13pm UTC](https://devforum.zoom.us/t/canswaptoshowsharevieworvideo-not-working-again/44199 "2021-02-24T21:13:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tmiskiew](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tmiskiew/32/9174_2.png) [@tmiskiew](https://devforum.zoom.us/u/tmiskiew)\
**Post date:** [February 24, 2021, 9:13pm UTC](https://devforum.zoom.us/t/canswaptoshowsharevieworvideo-not-working-again/44199/1 "2021-02-24T21:13:51Z")

</div>

We are using the macOS SDK 5.4.54802.0124 which according to the release notes should fix:

Fixed an issue that the interface

- (BOOL)canSwapToShowShareViewOrVideo

does not work.

Unfortunately this problem still persists and it’s more wired than ever before.

1. We join a meeting with 3 or more participants.
2. Everyone has his camera on
3. One of the participants start sharing his screen.

And yet the canSwapToShowShareViewOrVideo returns FALSE

/\*\*

- @brief Swap to show sharing screen or video.
- @param share YES means swap to sharing screen, NO means swap to video.
- @return If the function succeeds, it will return ZoomSDKError\_success, otherwise not.
- @note Only available for Zoom native ui mode.  
\*/

- (ZoomSDKError)swapToShowShareViewOrVideo:(BOOL)share;

**swap(toShowShareViewOrVideo true) result: Optional(\_\_C.ZoomSDKError(rawValue: 4))**

before that also the call canSwapBetweenShareViewOrVideo returns false

/\*\*

- @brief Determine if the user can swap between show sharing screen or video now.
- @return YES means can, otherwise not.  
\*/

- (BOOL)canSwapBetweenShareViewOrVideo NS\_AVAILABLE\_MAC(5.4);

Logs: [https://miskiewicz.s3.eu-central-1.amazonaws.com/zoom/Remote+for+Zoom.zip](https://miskiewicz.s3.eu-central-1.amazonaws.com/zoom/Remote+for+Zoom.zip)

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [February 24, 2021, 11:10pm UTC](https://devforum.zoom.us/t/canswaptoshowsharevieworvideo-not-working-again/44199/2 "2021-02-24T23:10:46Z")

</div>

Hi @tmiskiew, thanks for the post.

Sorry to hear you are still experiencing issues with this method. Can you please confirm whether or not the participant sharing is the one calling this method?

Thanks!

---

<div class="post-metadata">

**Author:** ![tmiskiew](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tmiskiew/32/9174_2.png) [@tmiskiew](https://devforum.zoom.us/u/tmiskiew)\
**Post date:** [February 25, 2021, 5:56am UTC](https://devforum.zoom.us/t/canswaptoshowsharevieworvideo-not-working-again/44199/3 "2021-02-25T05:56:46Z")

</div>

We tried both. It doesn’t matter who is sharing. There is only one account we have with that it works in some instances. When @j_a_z_z connects with that account using his iPad or original zoom app then on his end the SDK would notice that he started sharing. I’m connected via SDK to the same meeting and mine still doesn’t notice, **can** SwapBetweenShareViewOrVideo returns false and **swap** ToShowShareViewOrVideo both return false. When I start a meeting with any of my many account it doesn’t work for anyone. When @j_a_z_z starts a meeting and sharing with any other account both methods don’t work. This SDK is so screwed up that I have the feeling we are all wasting our life. @TimZoom please save us!

---

<div class="post-metadata">

**Author:** ![TimZoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/timzoom/32/978_2.png) [@TimZoom](https://devforum.zoom.us/u/TimZoom)\
**Post date:** [February 25, 2021, 7:33am UTC](https://devforum.zoom.us/t/canswaptoshowsharevieworvideo-not-working-again/44199/4 "2021-02-25T07:33:48Z")

</div>

@tmiskiew please send your logs and sample code to [developersupport@zoom.us](mailto:developersupport@zoom.us). I’ll have someone on standby. We’ll take care of you from there.

---

<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:** [March 27, 2021, 5:33pm UTC](https://devforum.zoom.us/t/canswaptoshowsharevieworvideo-not-working-again/44199/5 "2021-03-27T17:33:56Z")

</div>

Closed on March 27, 2021, 5:33pm UTC

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