UITabBarController 获得selecdIndex
来源:互联网 发布:电脑包 知乎 编辑:程序博客网 时间:2024/06/05 16:32
UITabBarControllerDelegate
mainTabBarController.delegate = self;
- (void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController
{
switch (tabBarController.selectedIndex) {
case 0:///周边
[selfSetLFMBtnList_ZB];
break;
case 1:////秀秀
break;
case 2://关注
[selfSetLFMBtnList_GZ];
break;
case 3://设置
break;
case 4://活动
break;
default:
break;
}
}
- UITabBarController 获得selecdIndex
- UITabbarController
- UITabBarController
- UITabBarController
- UITabBarController
- UITabBarController
- UITabBarController
- UITabbarController
- UITabBarController
- UITabBarController
- UITabBarController
- UITabbarController
- UITabBarController
- UITabBarController
- UITabBarController
- UITabBarController
- UITabBarController
- UITabBarController
- java多线程处理(java.util.concurrent)
- malloc(0)的问题
- 如何设置Eclipse中的每一行容纳的代码数
- Linux下CVS的安装、配置与使用(一):安装与本地使用
- u-boot-linaro-stable命令列表
- UITabBarController 获得selecdIndex
- 雷军:我没有足够勇气面对小米爆炸式增长(转)
- json对象与字符串之间的转换
- 常用的快速Web原型图设计工具
- poj1979
- 代码规范
- Update-rc.d 命令用法详解
- MFC UpdateData(FALSE)和UpdateData(TRUE)的作用
- ArcGIS Flex API进行缓冲分析的讨论