If the app starts on regular mode, changes to compact, and then changes back to regular, everything works fine. The problem happens when the app starts on compact mode. When trying to switch to regular, the following exception happens and the app crashes:
I have a sample project on Github that we can use to simulate this. Just follow the steps to reproduce:
Code Block Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unexpected view controller change in Secondary column for expanding <UISplitViewController: 0x10550a630>'
I have a sample project on Github that we can use to simulate this. Just follow the steps to reproduce:
Launch the app
Open another app on the side in a way that the first app changes to compact mode
Relaunch the app
Slide the second app off the screen so that the first changes to regular mode