# iOS 13 waiting room modal issue when swiping

**URL:** <https://devforum.zoom.us/t/ios-13-waiting-room-modal-issue-when-swiping/30590>\
**Category:** Meeting SDK\
**Created:** [September 17, 2020, 3:50pm UTC](https://devforum.zoom.us/t/ios-13-waiting-room-modal-issue-when-swiping/30590 "2020-09-17T15:50:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jim.power](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jim.power/32/8396_2.png) [@jim.power](https://devforum.zoom.us/u/jim.power)\
**Post date:** [September 17, 2020, 3:50pm UTC](https://devforum.zoom.us/t/ios-13-waiting-room-modal-issue-when-swiping/30590/1 "2020-09-17T15:50:44Z")

</div>

**Description**  
The waiting room in iOS 13 is presented modally using the new default behavior which means it can be swiped away without the user having to tap the “Leave” button. If the user does this there is no way to join a new waiting room (as far as I can tell).

**Which version?**  
[v5.0.24433.0616](https://github.com/zoom/zoom-sdk-ios/releases/tag/v5.0.24433.0616)

**To Reproduce(If applicable)**  
Join a waiting room on iOS 13  
Swipe the waiting room down  
Attempt to join a new waiting room

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

- Device: iPhone
- OS: iOS 13+

**Additional context**  
For now I’ve swizzled the waiting room to be full screen but I’m not sure if that’s going to cause problems or if there is a better solution I’m missing.

```auto
class Zoom {

    static func swizzleWaitingRoom() {
        if let klass = NSClassFromString("ZPMeetingWaitViewController") {
            guard let original = class_getInstanceMethod(klass, #selector(getter: UIViewController.modalPresentationStyle)), let replacement = class_getInstanceMethod(self, #selector(getter:Zoom.modalPresentationStyle))
                else { return }
            method_exchangeImplementations(original, replacement)
        } else {
            print("NO CLASS NAMED `ZPMeetingWaitViewController`")
        }
    }

    @objc var modalPresentationStyle: UIModalPresentationStyle {
        .fullScreen
    }

}

```

---

<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 17, 2020, 7:28pm UTC](https://devforum.zoom.us/t/ios-13-waiting-room-modal-issue-when-swiping/30590/2 "2020-09-17T19:28:34Z")

</div>

Hey @jim.power

Thanks for using the dev forum, and thank you for the detailed post!

Unfortunately, this is a known issue. We apologize for that, as it is not a pleasant experience for the devs nor users to deal with this dismissal not being acknowledged. As for the swizzle question, the behavior is unknown when swizzling the entire class.

In the meantime, if you implement a CustomMeetingUI, you can design your own waiting room UI that can have deeper access into behavior and design.

I will make sure to keep you updated on this issue!

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![jim.power](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jim.power/32/8396_2.png) [@jim.power](https://devforum.zoom.us/u/jim.power)\
**Post date:** [September 17, 2020, 8:09pm UTC](https://devforum.zoom.us/t/ios-13-waiting-room-modal-issue-when-swiping/30590/3 "2020-09-17T20:09:37Z")

</div>

Thanks Michael -

We’ll test the app with the swizzling approach and if we don’t see any major issues probably ship this way, as our release target does not allow for creating a custom meeting UI. I do appreciate the response.

---

<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 18, 2020, 6:09pm UTC](https://devforum.zoom.us/t/ios-13-waiting-room-modal-issue-when-swiping/30590/4 "2020-09-18T18:09:21Z")

</div>

@jim.power

Thank you for your patience! I apologize for the inconvenience this causes.

Michael

---

<div class="post-metadata">

**Author:** ![sydney](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sydney/32/15965_2.png) [@sydney](https://devforum.zoom.us/u/sydney)\
**Post date:** [October 1, 2020, 12:19pm UTC](https://devforum.zoom.us/t/ios-13-waiting-room-modal-issue-when-swiping/30590/5 "2020-10-01T12:19:10Z")

</div>

The Swizzling does work but in iPad Pro 2020 it made the leave button not working anymore. Guess custom UI is the best bet.

---

<div class="post-metadata">

**Author:** ![jim.power](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jim.power/32/8396_2.png) [@jim.power](https://devforum.zoom.us/u/jim.power)\
**Post date:** [October 1, 2020, 1:13pm UTC](https://devforum.zoom.us/t/ios-13-waiting-room-modal-issue-when-swiping/30590/6 "2020-10-01T13:13:59Z")

</div>

Thanks for the report Sydney.

That said, I just tested on a 2020 iPad Pro running iOS 14.01 and the solution we came up with worked (that is, the Leave button functioned properly), though we did adjust the swizzling to only affect `ZMNavigationController`
