How can I know which viewController is being displayed(in view) currently by my appdelegate?

Posted by wolverine on Stack Overflow See other posts from Stack Overflow or by wolverine
Published on 2010-04-23T06:44:40Z Indexed on 2010/04/23 8:03 UTC
Read the original article Hit count: 175

Filed under:
|

I am doing a normal viewBased application and have added another viewController(along with the xib). When the application starts, normally it will display its own view. I am doing an action and is going to another viewController class. From this class, I want to check which viewController is being displayed currently in the view.

How can I do this? Does anyone have an idea?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uiviewcontroller