码迷,mamicode.com
首页 >  
搜索关键字:rootviewcontroller    ( 392个结果
【代码笔记】首页3张图片变化
一,效果图。 二,工程图。 三,代码。 RootViewController.h #import <UIKit/UIKit.h> @interface RootViewController : UIViewController { NSTimer *timer; UIImageView *image ...
分类:其他好文   时间:2016-05-30 10:01:49    阅读次数:219
当应用程序接收到内存警告的时候怎么处理?
当收到内存警告的时候,应用程序会将警告一级一级往下传递,传递顺序是UIApplication->UIWindow->rootViewController(如果有子控制器)->childViewControllers。 当控制器接收到警告之后,就会调用didReceiveMemoryWarning方法 ...
分类:其他好文   时间:2016-05-29 23:04:46    阅读次数:228
【代码笔记】手机验证码
一,效果图。 二,代码。 RootViewController.h #import <UIKit/UIKit.h> @interface RootViewController : UIViewController @end RootViewController.m #import "RootView ...
分类:移动开发   时间:2016-05-27 09:35:51    阅读次数:265
设置textView或者label的行间距方法
一,效果图。 二,代码。 1 RootViewController.m 2 3 4 5 - (void)viewDidLoad 6 7 { 8 9 [super viewDidLoad]; 10 11 // Do any additional setup after loading the view ...
分类:其他好文   时间:2016-05-25 11:00:13    阅读次数:151
设置textView或者label的行间距方法
一,效果图。 二,代码。 RootViewController.m ...
分类:其他好文   时间:2016-05-24 11:57:15    阅读次数:127
【代码笔记】设置textView或者label的行间距方法
一,效果图。 二,代码。 RootViewController.m ...
分类:其他好文   时间:2016-05-23 10:37:04    阅读次数:115
改变导航条标题的颜色为红色
一,效果图。 二,代码。 RootViewController.m - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view. self.title=@"I love yo ...
分类:其他好文   时间:2016-05-23 10:27:38    阅读次数:136
【代码笔记】改变导航条标题的颜色为红色
一,效果图。 二,代码。 RootViewController.m ...
分类:其他好文   时间:2016-05-20 09:48:47    阅读次数:147
TableView Editor and delete add Test
// // RootViewController.m // UI_tableView编辑 // // Created by Hunter on 15/12/5. // Copyright © 2015年 HaiTeng. All rights reserved. // #import "RootVi ...
分类:其他好文   时间:2016-05-20 06:10:29    阅读次数:224
【代码笔记】两个滚动条,上下都能滑动
一,效果图。 二,工程图。 三,代码。 RootViewController.h #import <UIKit/UIKit.h> @interface RootViewController : UIViewController <UIScrollViewDelegate> { UIView *bac ...
分类:其他好文   时间:2016-05-18 09:14:14    阅读次数:294
392条   上一页 1 ... 5 6 7 8 9 ... 40 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!