Running Xcode 10 seed (10A254a).
I have VC A that modally presents another VC B.
VC B is a TabBarVC with a UITableVC as its default (first) tab.
I have a custom transition between VC A and VC B that allows users to use a pan gesture to swipe between the two VCs - swipe left on VC A to show B and vice-versa.
Problem is that on Xcode 10, on any simulator (tried with iPhone XR, X and 6), and with any OS (tried iOS 12 & 10.3) at some point transition from B back to A stops working (dismissing VC B not working) and all UI is stuck. It won't happen consistently but after some back-and-forth is gets stuck.
- The app isn't stuck - I can see conosle logs still rolling and netwrok activity is working (no errors in the log)
- Pausing the app in this stuck state I can see com.apple.main-thread is not stuck.
- When I hit "Debug View Hierarchy" something weird happens:
- on sim screen I can still see VC B and all UI is disbaled
- on view debugger main view - I can see VC A's subviews drawn
- on view debugger left tree view - I can see the view hierarcgy of VC B.
Seems like the custom transition is in some kind of wierd state.
I haven't been able to recreate on actual device - seems all is working OK but haven't been able to test on XR with iOS 12 of course.
Anyone encounter something similar?