码迷,mamicode.com
首页 >  
搜索关键字:navigationcontroller    ( 445个结果
【ios开发学习 - 第一课】页面跳转
第一种 [self.navigationController pushViewController:subTableViewController animated:YES]; //描述:通过 NSNavigationBar 进行跳转 [self.navigationController popViewControllerAnimated:YES]; //描述:在子视图返回到上级视图 ...
分类:移动开发   时间:2015-06-05 17:38:30    阅读次数:171
UITabBarControler解决旋转问题
在一次开发项目中遇到了播放视频,播放完视频回到列表,该列表在 NavigationController 里面, NavigationController 放在了 UItabBarController 里面,做旋转禁止的操作,试了好多方法,在 UIViewController 写禁止旋转的方法,在 navigaitonController 类别里面写,都没有很好地饿解决该旋转的方法,都没有解决该问题...
分类:其他好文   时间:2015-06-04 17:04:33    阅读次数:122
要把一个控件隐藏在navigationBar后面伺机而动怎么办
UILabel *showLabel = [[UILabel alloc]init]; showLabel.backgroundColor = [UIColor redColor]; [self.navigationController.view insertSubview:showLabel .....
分类:其他好文   时间:2015-06-04 13:35:16    阅读次数:104
ios7 ios8导航栏透明
自动调整scrollview的insets为0, 然后scrollview就不会向下偏移64pxself.automaticallyAdjustsScrollViewInsets = NO;导航栏透明: self.navigationController.navigationBar.alpha =....
分类:移动开发   时间:2015-06-01 16:11:37    阅读次数:128
从0开始学习Swift开发IOS应用(4)——Navigation Controller
新建一个singleviewapp在视图窗口拖住一个NavigationController,默认的NavigationController是自动关联TableView的,如果不需要,可以把自动添加的TableView删除,新建一个ViewController关联NavigationController即可。(右键从Nav拖向view,选择rootview)常用属性介绍navig..
分类:移动开发   时间:2015-05-29 18:30:32    阅读次数:201
title颜色修改
在默认显示的标题中直接修改文件的大小和颜色[self.navigationController.navigationBar setTitleTextAttributes:@{NSFontAttributeName:[UIFont systemFontOfSize:19],NSForegroundCo...
分类:其他好文   时间:2015-05-28 15:36:20    阅读次数:123
去除navigationbar 底部黑线
1,去除navigationbar 底部黑线 ——亲测可用 if ([self.navigationController.navigationBar respondsToSelector:@selector( setBackgroundImage:forBarMetrics:)]){ NSA...
分类:其他好文   时间:2015-05-26 18:12:22    阅读次数:116
UINavigationController
1、UINavigationBar 背景色修改- (void)viewWillAppear:(BOOL)animated{ UINavigationBar *bar = self.navigationController.navigationBar; //关键是这几句。。。。。 [bar se...
分类:其他好文   时间:2015-05-25 22:15:18    阅读次数:101
iOS 回到rootViewController根控制器视图
iOS 回到rootViewController根控制器视图直接上代码- (void)backToRootViewController{ UIViewController* vc = [MainViewController instance].navigationController.visibleViewController; if ([vc isEqual:[MainViewCo...
分类:移动开发   时间:2015-05-21 22:37:30    阅读次数:356
设置导航栏的背景颜色和字体颜色ios7以上
self.navigationController.navigationBar.barTintColor=COLOR(233, 86, 68, 1); self.navigationController.navigationBar.translucent = YES; self.navigatio....
分类:移动开发   时间:2015-05-17 21:33:39    阅读次数:159
445条   上一页 1 ... 28 29 30 31 32 ... 45 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!