ios - Get list of all currently visible ViewControllers -


i have app implements slide out navigation drawer. when on view controllers , choose go somewhere else in app, want pop modal view controller i'm leaving confirm user wants leave page.

the problem is, need reference view controller call delegate method have established this, checks needs to. how can reference visible view controllers on screen?

i've tried getting root view controller , accessing child view controllers, i've tried getting navigation controller , accessing view controllers, none of these have worked.

basically, need way reference view controller on screen, if there way that. appreciated!


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -