一,效果图。 二,代码。 RootViewController.m ...
分类:
其他好文 时间:
2016-05-17 09:55:20
阅读次数:
172
1:UIWindow知识点 iOS9要求所有UIWindow都有rootViewController,如果没有rootViewController就会报错了; (a)【self.window makekeyandvisible】让窗口成为主窗口,并且显示出来。有这个方法,才能把信息显示到屏幕上。 ( ...
分类:
移动开发 时间:
2016-05-13 09:54:31
阅读次数:
247
一,效果图。
二,工程图。
三,代码。
RootViewController.m
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view.
self.title=@"平面化的饼图";
...
分类:
其他好文 时间:
2016-05-12 13:55:24
阅读次数:
163
一,效果图。 二,工程图。 三,代码。 RootViewController.m - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view. self.title=@"评分 ...
分类:
其他好文 时间:
2016-05-11 09:38:37
阅读次数:
271
在IOS开发中,有时候会遇到如下情况:在页面1上有一个RedView,在RedView上有一个GreenView,在GreenView上有一个button,这些view的创建代码如下: 1、AppDelegate.m 2、RootViewController.m 3、RedView.m 4、Gree ...
分类:
移动开发 时间:
2016-05-10 20:23:42
阅读次数:
316
一,效果图。 二,工程图。 三,代码。 RootViewController.m - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view. self.title=@"平面 ...
分类:
其他好文 时间:
2016-05-10 09:41:39
阅读次数:
165
#import "RootViewController.h" //加入头文件#import "Reachability.h" @interface RootViewController () @end @implementation RootViewController - (id)initWith ...
分类:
其他好文 时间:
2016-05-04 17:12:35
阅读次数:
137
一,工程图。 二,代码。 RootViewController.h RootViewController.m ...
分类:
其他好文 时间:
2016-05-04 10:30:45
阅读次数:
165
一,代码。 #import "RootViewController.h" // 判断是否是iPhone5 #define iPhone5 ([UIScreen instancesRespondToSelector:@selector(currentMode)]\ ? CGSizeEqualToSiz ...
分类:
其他好文 时间:
2016-05-03 10:32:17
阅读次数:
133
RootView.h RootView.m RootCell.h RootCell.m HeaderReusableView.h HeaderReusableView.m RootViewController.m ...
分类:
其他好文 时间:
2016-04-29 21:49:11
阅读次数:
180