Crash on call to `showAANPanel`

Before Creating a New Topic:

When a call is made to the MobileRTC.shared().getMeetingService()?.showAANPanel function from iPadOS it causes your app to crash. It fails every time. It works correctly from iPhone.

We are providing a valid UIView and CGPoint as parameters. We have tried providing different UIView instances but the crash persists. We have tried the navigationController.view, our own UIViewController view, and even the main UIWindow but none fix the issue.

Exception Type: EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Exception Reason: -[UILayoutContainerView presentViewController:animated:completion:]: unrecognized selector sent to instance 0x142440700

Termination Reason: SIGNAL 6 Abort trap: 6

Terminating Process: Participant [78207]

Here is a stack trace:

0 CoreFoundation 0x19fb280c0 __exceptionPreprocess + 164 (NSException.m:249)

1 libobjc.A.dylib 0x19cfc5abc objc_exception_throw + 88 (objc-exception.mm:356)

2 CoreFoundation 0x19fb924c0 -[NSObject(NSObject) doesNotRecognizeSelector:] + 364 (NSObject.m:162)

3 UIKitCore 0x1a34adef4 -[UIResponder doesNotRecognizeSelector:] + 260 (UIResponder.m:798)

4 CoreFoundation 0x19fa3c8bc _forwarding_ + 1492 (NSForwarding.m:3612)

5 CoreFoundation 0x19fa3c940 _CF_forwarding_prep_0 + 96 (:-1)

6 MobileRTC 0x101568078 0x101528000 + 262264

7 MobileRTC 0x1015f2cb0 0x101528000 + 830640

8 Participant 0x10089fbd4 closure #1 in closure #1 in VideosViewController.activeAppsActivated.getter + 288 (VideosViewController.swift:76)

9 UIKitCore 0x1a292d6b4 <deduplicated_symbol> + 56

10 UIKitCore 0x1a33f6604 -[UIAction performWithSender:target:] + 112 (UIAction.m:263)

11 UIKitCore 0x1a280b268 -[UIControl _sendActionsForEvents:withEvent:] + 232 (UIControl.m:1011)

12 UIKitCore 0x1a2e9dc94 -[UIButton _sendActionsForEvents:withEvent:] + 124 (UIButton.m:4195)

13 UIKitCore 0x1a280b300 -[UIControl _sendActionsForEvents:withEvent:] + 384 (UIControl.m:1021)

14 UIKitCore 0x1a2e9dc94 -[UIButton _sendActionsForEvents:withEvent:] + 124 (UIButton.m:4195)

15 UIKitCore 0x1a2e9f2cc -[UIControl touchesEnded:withEvent:] + 400 (UIControl.m:692)

16 UIKitCore 0x1a2312d40 -[UIGestureDelayedEventComponentDispatcher sendDelayedTouches] + 2184 (UIGestureDelayedEventComponentDispatcher.m:257)

17 UIKitCore 0x1a231232c _UIGestureEnvironmentUpdate + 3660 (UIGestureEnvironment.m:208)

18 CoreFoundation 0x19fa20140 _CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION_ + 36 (CFRunLoop.c:1802)

19 CoreFoundation 0x19fa207bc __CFRunLoopDoObservers + 536 (CFRunLoop.c:1915)

20 CoreFoundation 0x19fa1df88 __CFRunLoopRun + 944 (CFRunLoop.c:2997)

21 CoreFoundation 0x19fa1fadc CFRunLoopRunSpecific + 572 (CFRunLoop.c:3434)

22 GraphicsServices 0x1ec845454 GSEventRunModal + 168 (GSEvent.c:2196)

23 UIKitCore 0x1a2441274 -[UIApplication _run] + 816 (UIApplication.m:3845)

24 UIKitCore 0x1a240ca28 UIApplicationMain + 336 (UIApplication.m:5540)

25 Participant 0x1008c414c main + 64 (AppDelegate.swift:16)

26 dyld 0x1c64b1f08 start + 6040 (dyldMain.cpp:1450)

Which iOS Meeting SDK version?

v6.6.0.28602

Smartphone (please complete the following information):

  • Device: iPad
  • OS: iOS 15-26