# \[UIAlertController rootViewController\]: unrecognized selector sent to instance in ios

**URL:** <https://devforum.zoom.us/t/uialertcontroller-rootviewcontroller-unrecognized-selector-sent-to-instance-in-ios/112413>\
**Category:** iOS\
**Tags:** phone, ios\
**Created:** [June 24, 2024, 3:23am UTC](https://devforum.zoom.us/t/uialertcontroller-rootviewcontroller-unrecognized-selector-sent-to-instance-in-ios/112413 "2024-06-24T03:23:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![darby](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/darby/32/49098_2.png) [@darby](https://devforum.zoom.us/u/darby)\
**Post date:** [June 24, 2024, 3:23am UTC](https://devforum.zoom.us/t/uialertcontroller-rootviewcontroller-unrecognized-selector-sent-to-instance-in-ios/112413/1 "2024-06-24T03:23:59Z")

</div>

### Format Your New Topic as Follows:

**Meeting SDK Type and Version**  
v5.17.11.14222

**Description**  
when join meeting first time, app is crash in ios.  
The app crashes when a UIAlertController is output asking if the host has full mute privileges while entering Zoom.

**Error?**

Fatal Exception: NSInvalidArgumentException

-[UIAlertController rootViewController]: unrecognized selector sent to instance 0x130820a00

**Troubleshooting Routes**  
I didn’t think the initial initZoom was right, so I did the init again.

**How To Reproduce**

1. initZoom()
2. joinMeetingWithJoinParam (userName, meetingNumber, password)
3. show UIAlertController
4. crash

---

<div class="post-metadata">

**Author:** ![darby](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/darby/32/49098_2.png) [@darby](https://devforum.zoom.us/u/darby)\
**Post date:** [June 25, 2024, 5:19am UTC](https://devforum.zoom.us/t/uialertcontroller-rootviewcontroller-unrecognized-selector-sent-to-instance-in-ios/112413/2 "2024-06-25T05:19:29Z")

</div>

app is crash when this view shown  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/3/f384f61bbde02ed4124fe4450967bca054abd148.jpeg)

---

<div class="post-metadata">

**Author:** ![developer-whova](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@developer-whova](https://devforum.zoom.us/u/developer-whova)\
**Post date:** [July 17, 2024, 12:28am UTC](https://devforum.zoom.us/t/uialertcontroller-rootviewcontroller-unrecognized-selector-sent-to-instance-in-ios/112413/3 "2024-07-17T00:28:29Z")

</div>

Any update on this crash?

We also experience a similar crash. It occurs after we tap the agree button on the disclaimer. So far, this crash seems to only occur when we’re in the waiting room and showing another view controller on top of zoom meeting screen.

I attached the stack trace below

```auto
Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0xecb28 __exceptionPreprocess
1 libobjc.A.dylib 0x2af78 objc_exception_throw
2 CoreFoundation 0x17deec +[NSObject(NSObject) _copyDescription]
3 UIKitCore 0xe5144c -[UIResponder doesNotRecognizeSelector:]
4 CoreFoundation 0x32300 ___forwarding___
5 CoreFoundation 0x173760 _CF_forwarding_prep_0
6 MobileRTC 0x39274 (Missing UUID fc824f401a273d0093e01a8b510a179d)
7 libdispatch.dylib 0x3dd4 _dispatch_client_callout
8 libdispatch.dylib 0x72d8 _dispatch_continuation_pop
9 libdispatch.dylib 0x1b1c8 _dispatch_source_latch_and_call
10 libdispatch.dylib 0x19d8c _dispatch_source_invoke
11 libdispatch.dylib 0x124b4 _dispatch_main_queue_drain
12 libdispatch.dylib 0x121b8 _dispatch_main_queue_callback_4CF
13 CoreFoundation 0x3751c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
14 CoreFoundation 0x34218 __CFRunLoopRun
15 CoreFoundation 0x33968 CFRunLoopRunSpecific
16 GraphicsServices 0x34e0 GSEventRunModal
17 UIKitCore 0x22aedc -[UIApplication _run]
18 UIKitCore 0x22a518 UIApplicationMain
19 Whova 0x67458 main + 16 (main.m:16)
20 ??? 0x1abc12d84 (Missing)

```

---

<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:** [August 16, 2024, 10:29am UTC](https://devforum.zoom.us/t/uialertcontroller-rootviewcontroller-unrecognized-selector-sent-to-instance-in-ios/112413/4 "2024-08-16T10:29:22Z")

</div>

Closed on August 16, 2024, 10:29am UTC

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