开发者

How to find the current uiviewcontroller?

开发者 https://www.devze.com 2023-01-22 21:17 出处:网络
My Application has around 4 U开发者_StackOverflowIViewControllers. Is it possible to find the current UIViewController?NSArray *viewContrlls=[[self navigationController] viewControllers];

My Application has around 4 U开发者_StackOverflowIViewControllers. Is it possible to find the current UIViewController?


NSArray *viewContrlls=[[self navigationController] viewControllers];
[viewContrlls lastObject];
0

精彩评论

暂无评论...
验证码 换一张
取 消