I have some viewControllers
, and I don't use NavigationController
.
How can I get visible view controller in app delegate methods (e.g. applicationWillResignActive
)?
I know how to do it from NSNotification
, but I think it's the wrong way.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…