# Replacement for deprecated UnlockShare()

**URL:** <https://devforum.zoom.us/t/replacement-for-deprecated-unlockshare/48511>\
**Category:** Windows\
**Created:** [April 21, 2021, 1:43pm UTC](https://devforum.zoom.us/t/replacement-for-deprecated-unlockshare/48511 "2021-04-21T13:43:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rob.vandersloot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rob.vandersloot/32/23800_2.png) [@rob.vandersloot](https://devforum.zoom.us/u/rob.vandersloot)\
**Post date:** [April 21, 2021, 1:43pm UTC](https://devforum.zoom.us/t/replacement-for-deprecated-unlockshare/48511/1 "2021-04-21T13:43:55Z")

</div>

The SDK documentation for v5.2.42037.1112 says that `IMeetingShareController::UnlockShare()` is deprecated and do not to use ([ZOOM Windows SDK: IMeetingShareController Class Reference](https://zoom.github.io/zoom-sdk-windows/class_i_meeting_share_controller.html#a81ac09dd0ac9286afd5d92918616b8c2)). Is there a replacement for this functionality?

My client application uses the **custom UI** (both Windows and iOS). I would like any attendee to be able to share their screen. The iOS SDK documentation for `MobileRTCMeetingService::lockShare(BOOL)` says nothing about deprecation, so I assume that when an iOS client is host, the app can unlock sharing using `lockShare(NO)`. How do I unlock sharing on the Windows client?

---

<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:** [April 21, 2021, 11:13pm UTC](https://devforum.zoom.us/t/replacement-for-deprecated-unlockshare/48511/2 "2021-04-21T23:13:16Z")

</div>

Hey @rob.vandersloot,

Thanks for using the dev forum!

Hmm, that is strange. Let me follow up with the team on this one.

Thanks!  
Michael

---

<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:** [April 27, 2021, 5:06pm UTC](https://devforum.zoom.us/t/replacement-for-deprecated-unlockshare/48511/3 "2021-04-27T17:06:03Z")

</div>

Hey @rob.vandersloot,

There appears to be a mistake in the iOS reference and it should be marked as deprecated in that platform of the SDK as well.

As for a replacement for this functionality, we do not currently provide one.

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:** [May 28, 2021, 3:07am UTC](https://devforum.zoom.us/t/replacement-for-deprecated-unlockshare/48511/4 "2021-05-28T03:07:03Z")

</div>

Closed on May 28, 2021, 3:07am UTC

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