# iOS ZoomSDK Leave button not working

**URL:** <https://devforum.zoom.us/t/ios-zoomsdk-leave-button-not-working/59110>\
**Category:** iOS\
**Created:** [October 20, 2021, 4:47am UTC](https://devforum.zoom.us/t/ios-zoomsdk-leave-button-not-working/59110 "2021-10-20T04:47:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tushar.kalsara](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tushar.kalsara/32/32011_2.png) [@tushar.kalsara](https://devforum.zoom.us/u/tushar.kalsara)\
**Post date:** [October 20, 2021, 4:47am UTC](https://devforum.zoom.us/t/ios-zoomsdk-leave-button-not-working/59110/1 "2021-10-20T04:47:53Z")

</div>

**Description**  
I’m using ZoomSDK iOS in nativescript.  
Everything is working fine except leave meeting button.  
when I’m clicking on leave button nothing is happening and no logs are printing.  
there is no scene Delegate files in my project and I also added UIWindow in appDelegate.

iOS - 14.5  
xcode - 12.5.1  
device - simulator/ iPhone 7

**Which iOS Meeting SDK version?**  
ZoomSDK version - 5.7.1.645

**Smartphone (please complete the following information):**

- Device: simulator/iphone 7/iphone xr (I tested using these devices only)
- OS: iOS 14.5
- xcode - 12.5.1

---

<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 20, 2021, 7:26pm UTC](https://devforum.zoom.us/t/ios-zoomsdk-leave-button-not-working/59110/2 "2021-10-20T19:26:39Z")

</div>

Hey @tushar.kalsara,

Thanks for using the dev forum!

Do you have a UINavigationController in your application?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![tushar.kalsara](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tushar.kalsara/32/32011_2.png) [@tushar.kalsara](https://devforum.zoom.us/u/tushar.kalsara)\
**Post date:** [October 21, 2021, 4:49am UTC](https://devforum.zoom.us/t/ios-zoomsdk-leave-button-not-working/59110/3 "2021-10-21T04:49:52Z")

</div>

@Michael_Condon yes i have UINavigationController.

Thanks  
Tushar

---

<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 25, 2021, 7:00pm UTC](https://devforum.zoom.us/t/ios-zoomsdk-leave-button-not-working/59110/4 "2021-10-25T19:00:15Z")

</div>

Hey @tushar.kalsara,

Have you called the method setMobileRTCRootController and passed in your navigation controller?

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:** [November 25, 2021, 5:00am UTC](https://devforum.zoom.us/t/ios-zoomsdk-leave-button-not-working/59110/5 "2021-11-25T05:00:20Z")

</div>

Closed on November 25, 2021, 5:00am UTC

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