use*_*234 1 objective-c uitabbarcontroller uiviewcontroller ios
我有一个带有三个标签的标签栏.在其中一个viewcontrollers属于中间选项卡,我的代码需要确定活动视图是否是第一个viewcontroller的视图.任何的想法?
Mic*_*ann 8
您可以通过调用selectedViewController应用程序的UITabBarController属性(为您链接的文档)来判断哪个视图控制器是活动的.
selectedViewController
还有一个selectedIndex属性.
selectedIndex
归档时间:
13 年,10 月 前
查看次数:
2873 次
最近记录: