0

I have a situation that one window present modal view controller and then user can tap to open new modal controller and it can go on. Each model controller have a button to dismiss and requirement is that it should come back to the first view controller which was presenting them.

For eg A presents B present C presents D. Now when user will press dismiss in D then it should come to A.

What is happening if I do this all view controller dismisses but Modal session stays there i.e app become unresponsive as if model window is still there.

Ankur Prakash
  • 1,417
  • 4
  • 18
  • 31
  • How are you stopping each modal session? – red_menace Apr 23 '20 at 15:10
  • I have a notification it will notify all controllers. Only Base controller ignore that and rest I do dismiss(self). I tried to close window also checking if it is not main window instance, But that too not working – Ankur Prakash Apr 23 '20 at 15:14
  • I was asking how you are stopping each modal session - just dismissing/closing the window won't do that. – red_menace Apr 23 '20 at 16:49

0 Answers0