I'm using this type of transition to UIViewcontroller
:
self.navigationController?.popToViewController(MainVC(), animated: false)
And in result i want to receive the MainVC with all subviews... but i receive only empty main View without any subviews. What i did wrong?
Update: I have the transition to MainVC, but it's empty, only initial View, without all subviews. What is the reason?