码迷,mamicode.com
首页 >  
搜索关键字:uiviewcontroller    ( 1229个结果
UIViewController 中的 willMoveToParentViewController和didMoveToParentViewController的使用(转载)
原文:http://www.gowhich.com/blog/543关于这两个方法,也是IOS5之后才加上去的。在iOS 5.0及以后,iOS为UIViewController类添加了新的属性和方法:@property(nonatomic,readonly)NSArray*childViewCont...
分类:其他好文   时间:2015-11-13 18:45:57    阅读次数:176
UIView 控件
UIView 控件苹果将控件的共同属性都抽取到了的父类UIView中- 所有的控件属性最终都继承自UIView?每个控件都是个容器,能容纳其他控件?内部小控件是大控件的子控件?大控件是内部小控件的父控件?每一个控制器(UIViewController)内部都有个默认的UIView属性-@proper...
分类:其他好文   时间:2015-11-12 14:53:19    阅读次数:162
iOS_隐藏顶部状态栏方式
iOS6和iOS7在隐藏 Status Bar 三种方式比较: Storyboard 界面上选中UIViewController,最右边Simulated Metrics找到 Status Bar 设定成 None ViewController iOS 6通过[UIApplication sharedApplication] 取得app...
分类:移动开发   时间:2015-11-11 11:55:51    阅读次数:236
UIViewController加载过程
ViewController是iOS应用程序中重要的部分,是应用程序数据和视图之间的重要桥梁,ViewController管理应用中的众多视图。iOS的SDK中提供很多原生ViewController,以支持标准的用户界面,例如表视图控制器(UITableViewController)、导航控制器(...
分类:其他好文   时间:2015-11-08 16:31:08    阅读次数:282
IOS willMoveToParentViewController和didMoveToParentViewController的使用
在iOS 5.0及以后,iOS为UIViewController类添加了新的属性和方法:@property(nonatomic,readonly)NSArray*childViewControllers-(void)addChildViewController:(UIViewController*)...
分类:移动开发   时间:2015-11-06 13:01:36    阅读次数:158
掉进的坑
1.关于自定义的navigationController设置的问题如下图:SecondViewController继承自一个fatherViewContriller 基类,fatherViewContriller它又继承自UIViewController,在fatherViewController中...
分类:其他好文   时间:2015-11-04 00:37:59    阅读次数:219
IOS dismissViewControllerAnimated 传值
1.新建PassValueDelegate.h@protocolPassValueDelegate-(void)passValue:(NSString*)value; @end2.@interface AViewController : UIViewController-(void)passValu...
分类:移动开发   时间:2015-11-04 00:30:26    阅读次数:1759
一周随笔--15.11.02
一周新知识点记录(15.11.02)一、storyboard中搭建tableViewCell在storyboard中搭建tableView,一种是以UITableViewController为容器,另一种则是以UIViewController为容器,拖出一个tableView来。当以UITableV...
分类:其他好文   时间:2015-11-02 22:35:08    阅读次数:206
自定义模式对话框
首先在故事板中拖入一个UIViewController,设计你的UI。我们以下面的例子为例: 在这个ViewController中,上半部分我们将设置为透明(通过代码设置),而下半部分是3个UIButton。在Identity面板中,将Class 设置为一个新的UIViewController子类。然后创建这个UIViewController子类。在故事板中,选中3个按钮所在的父UIView...
分类:其他好文   时间:2015-11-02 15:46:07    阅读次数:320
iOS对UIViewController生命周期和属性方法的解析
iOS对UIViewController生命周期和属性方法的解析 一、引言 ????????作为MVC设计模式中的C,Controller一直扮演着项目开发中最重要的角色,它是视图和数据的桥梁,通过它的管理,将数据有条有理的展示在我...
分类:移动开发   时间:2015-11-01 15:21:02    阅读次数:6387
1229条   上一页 1 ... 45 46 47 48 49 ... 123 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!