Hello,
I have a crash report of an app running on an iPhone 7 indicating that an exception has been thrown by the function
UIViewController.transitionFromViewController:toViewController:duration:options:animations:completion:
.Unfortunately the crash report doesn't contain the exception name and reason.
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Based on the doc found in the header file, I understand there are 2 possible reasons:
This method will fail with an NSInvalidArgumentException if the parent view controllers are not the same as the receiver, or if the receiver explicitly forwards its appearance and rotation callbacks to its children.
Knowing that the exception is thrown in UIViewController.m at line 11545, is it possible to know exactly what was the cause of the crash? I have put some safeguards for both cases but I would like to know the real issue just to understand why this problem occurs only rarely.
Thanks