码迷,mamicode.com
首页 >  
搜索关键字:navigationcontroller    ( 445个结果
iOS8 自定义navigationbar 以及 UIBarButtonItem 边距问题
一。自定义navigationbar- (void)initNavigationBar{ [self.navigationController setNavigationBarHidden:YES]; UINavigationBar *bar = [[UINavigationBar al...
分类:移动开发   时间:2014-10-17 15:15:30    阅读次数:198
在用TabbarController中出现navigationController 嵌套报错
假设出现:nested push animation can result in corrupted navigation barFinishing up a navigation transition in an unexpected state. Navigation Bar subview t...
分类:其他好文   时间:2014-10-11 16:43:35    阅读次数:170
UI: 操作导航控制器的视图控制器数组
- (void) goBack{/* Get the current array of View Controllers */NSArray *currentControllers = self.navigationController.viewControllers; /* Create a mu...
分类:编程语言   时间:2014-10-11 14:07:15    阅读次数:115
ios 设置状态栏背景颜色
第一种方法:     [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleBlackOpaque;     self.navigationController.navigationBar.tintColor = [UIColor blackColor];     if (is_ios_7_Later) { ...
分类:移动开发   时间:2014-10-10 18:52:15    阅读次数:189
控制器之间的跳转,多层的跳转
UIViewController *target = nil;for (UIViewController * controller in self.navigationController.viewControllers) { //遍历 if ([controller isKindOfClas...
分类:其他好文   时间:2014-10-08 18:15:15    阅读次数:201
视图切换的几种方法
代码:-(void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event{ //切换方法1 //动画效果:左右滑动 //必须有导航器视图才能切换 [self.navigationController pushView...
分类:其他好文   时间:2014-09-30 14:54:19    阅读次数:165
IOS StroyBoard 切换操作
storyboard之间的切换有三种方法:[self presentViewController:viewControllerToPresentanimated:YES completion:nil];[self.navigationController pushViewController:vie...
分类:移动开发   时间:2014-09-29 11:08:47    阅读次数:181
【iOS开发-22】navigationBar导航条和navigationItem设置:基本搞定导航条上的文字和按钮以及各种跳转
navigationBar导航条可以看做是self.navigationController导航控制器的一个属性,可以直接用点来表示self.navigationController.navigationBar,当然navigationBar自己还有很多属性,比如样式barStyle、背景backgroundColor、frame属性(可以获取宽高这些信息),还可以用setBackgroundImage方法设置背景图片,当然图片多了可以使用clipsToBounds剪裁。...
分类:移动开发   时间:2014-09-29 00:37:26    阅读次数:321
记录一些容易忘记的属性 -- UINavigationController
//设置导航栏的风格 self.navigationController.navigationBar.barStyle = UIBarStyleDefault; //设置导航栏是否透明 NO不透明, YES 透明,默认为YES; //当导航栏的translucent属性设置为YES,则在当前视图.....
分类:其他好文   时间:2014-09-24 23:22:57    阅读次数:207
Tabbar 的 tabBarItem 图片背景颜色修改
自定义TabBarController例如:@interfacemainTabBarController:UITabBarController修改颜色:self.tabBar.tintColor=[UIColorredColor];(背景颜色修改为红色)在自己的NavigationController添加p_w_picpath.titleself.tabBarItem.p_w_picpath=[UIImagep_w_picpathNamed:@"icon_b.p..
分类:其他好文   时间:2014-09-23 11:35:24    阅读次数:228
445条   上一页 1 ... 38 39 40 41 42 ... 45 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!