Reputation: 1258
Let's say I have 3 UIViewControllers: A, B, C. A is presenting B modally and B is presenting C modally. I have exit segue from C to A and everything works fine, but while dismissing controller B is flashing and it's viewWillAppear
is called.
Is it possible not to show B and don't call it's viewWillAppear
in this situation?
Upvotes: 1
Views: 134
Reputation: 616
Just a suggestion. Set alpha of view to 0 in viewWillDisAppear
of viewcontroller B
while presenting C from B. So while dismissing C to move back to A, viewcontroller B
will not be visible. Again just a suggestion.
Upvotes: 1