码迷,mamicode.com
首页 >  
搜索关键字:uinavigationcontroller    ( 533个结果
UINavigationController的子控制器
?UINavigationController以栈的形式保存子控制器@property(nonatomic,copy)NSArray*viewControllers;@property(nonatomic,readonly)NSArray*childViewControllers;?使用push方法...
分类:其他好文   时间:2014-06-06 20:03:23    阅读次数:310
iOS7坐标上移44pt的解决
在iOS7中,引入一个新的属性,叫[UIViewController setEdgesForExtendedLayout:],它的默认值是UIRectEdgeAll.当容器为UINavigationController时,默认布局从NavigationBar的顶部开始.所以所有元素均上移了44pt....
分类:移动开发   时间:2014-06-06 16:25:28    阅读次数:212
IOS开发UI篇—导航控制器属性和基本使用
IOS开发UI篇—导航控制器属性和基本使用一、导航控制器的一些属性和基本使用1.把子控制器添加到导航控制器中的四种方法(1)1.创建一个导航控制器 UINavigationController *nav=[[UINavigationControlleralloc]init];2.设置导航控制器为w....
分类:移动开发   时间:2014-06-05 17:42:40    阅读次数:378
ios7 UIScrollView 尺寸问题
如果在UINavigationController内设置一个UIViewControlller,而UIViewController的第一个子视图是UIScrollView的话,UIScrollview里面所有的subView都会发生下移,如图所示 UIScrollView 尺寸问题" title="ios7 UIScrollView 尺寸问题" style="margin:0px; padd...
分类:移动开发   时间:2014-06-05 00:32:15    阅读次数:347
UINavigationController与UITabBarController相关问题
UINavigationController与UITabBarController相关问题UINavigationController与UITabBarController混用是非常常见的,有时候会遇到UINavigationController推出(push)出controller后隐藏UITab...
分类:其他好文   时间:2014-05-30 07:16:51    阅读次数:213
多控制器的管理
1、往往一个项目中会出现多个控制器,iOS中提供了两个比较特殊的控制器:UINavigationController 和 UITabBarController2、UINavigationController的简单使用步骤: (1)初始化UINavigationController (2) 设置...
分类:其他好文   时间:2014-05-27 02:17:40    阅读次数:231
ios开发:UINavigationController反方向滑动push
新建个UINavigationController的类别: #import "UINavigationController+CustomAnimation.h" @implementation UINavigationController (CustomAnimation) - (void)customPushViewController:(UIViewContr...
分类:移动开发   时间:2014-05-26 05:33:19    阅读次数:381
iOS 在使用UINavigationController和TabBarController时view的frame
可能是以前记错了,总认为在ios6上使用了UINavigationController或者TabBarController会因为多了bar而影响子controller的view的frame大小。今天在xcode5.1上验证,无论ios6或者7,使用容器controller,产生了的bar都不会对子c...
分类:移动开发   时间:2014-05-22 04:28:02    阅读次数:339
UINavigationController的相关设置
在“电商”类项目中再点击进入下一个界面的时候,需要自定义导航栏左侧的按钮,此时不需要在每个controller里面设置leftBarButtonItem,只需要写一个继承UINavigationController,里面的代码如下:
分类:其他好文   时间:2014-05-16 06:15:52    阅读次数:261
UITabBarController 初学
纯代码编写UITabBarController, 不多说,直接见代码RViewController1 *vc1 = [[RViewController1 alloc]init]; UINavigationController *navController = [[UINavigatio...
分类:其他好文   时间:2014-05-15 02:16:10    阅读次数:246
533条   上一页 1 ... 51 52 53 54 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!