UINavigationController 常用方法
来源:互联网 发布:mac论坛哪个好 编辑:程序博客网 时间:2024/05/22 06:35
设置tabbaritem 图片的样式
childVc.tabBarItem.image = [UIImage imageNamed:image];childVc.tabBarItem.selectedImage = [[UIImage imageNamed:selectedImage] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
设置tabbaritem 文字的样式
NSMutableDictionary *titleDic = [NSMutableDictionary dictionary]; titleDic[NSForegroundColorAttributeName] = [UIColor lightGrayColor]; [childVc.tabBarItem setTitleTextAttributes:titleDic forState:UIControlStateNormal]; titleDic[NSForegroundColorAttributeName] = [UIColor orangeColor]; [childVc.tabBarItem setTitleTextAttributes:titleDic forState:UIControlStateSelected];
0 0
- UINavigationController 常用方法
- UI常用方法总结之 UINavigationController
- UI 常用方法总结之--- UINavigationController (不断更新中)
- UINavigationController 常用代码
- UINavigationController常用属性设置
- UINavigationController常用属性设置
- UINavigationController属性与方法
- UINavigationController的代理方法
- UINavigationController的setViewControllers方法
- UINavigationController的隐藏方法
- iOS:UINavigationController的常用属性
- UINavigationController
- UINavigationController
- UINavigationController
- UINavigationController
- UINavigationController
- UINavigationController
- UINavigationController
- Apache Ant 与 Maven
- 湘潭比赛有感---铩羽之行
- cocos2D-x 3.5 引擎解析之--节点(Node)
- Linux: 使用screen管理你的远程会话
- C++中所有的变量和函数都必须有类型
- UINavigationController 常用方法
- Datazen图表创建和发布
- linux 安装软件大全
- Populating Next Right Pointers in Each Node I, II
- Android 加载带有后缀的.so.xx库
- 06-3. 单词长度(15)
- C#调用默认浏览器打开网页的几种方法
- postgresql 初始
- Snackbar使用及其注意事项