How to find the current uiviewcontroller?
My Application has around 4 U开发者_StackOverflowIViewControllers. Is it possible to find the current UIViewController?
NSArray *viewContrlls=[[self navigationController] viewControllers];
[viewContrlls lastObject];
精彩评论