一,效果图。 二,工程图。 三,代码。 RootViewController.m #import "RootViewController.h" //加入弹出框的头文件 #import "MPNotificationView.h" @interface RootViewController () @e ...
分类:
其他好文 时间:
2016-04-26 09:40:47
阅读次数:
114
#import "MJViewController.h"#import "RootViewController.h"@interface MJViewController () <UIScrollViewDelegate>@property (strong, nonatomic) UIScrollV ...
分类:
其他好文 时间:
2016-04-22 16:22:52
阅读次数:
125
一,效果图。 二,工程图。 三,代码。 RootViewController.h #import <UIKit/UIKit.h> @interface RootViewController : UIViewController <UIScrollViewDelegate,UITableViewDel ...
分类:
其他好文 时间:
2016-04-22 09:27:34
阅读次数:
165
UIWindow *window = [UIApplication sharedApplication].keyWindow; window 为nil的原因:在指定rootViewController之前,没有让window 先可视化 1.示例 为nil: self.window = [[UIWin ...
分类:
移动开发 时间:
2016-04-21 06:58:35
阅读次数:
187
创建代码块: YHView.m 根视图: RootView.m 根视图控制器: RootViewController.m ...
分类:
其他好文 时间:
2016-04-20 21:53:53
阅读次数:
186
一,效果图。 二,代码。 RootViewController.m ...
分类:
其他好文 时间:
2016-04-20 09:24:05
阅读次数:
171
一,效果图。 二,工程图。 三,代码。 RootViewController.h #import <UIKit/UIKit.h> #import <AVFoundation/AVFoundation.h> @interface RootViewController : UIViewControlle ...
分类:
其他好文 时间:
2016-04-18 10:13:06
阅读次数:
168
获取抽屉的方法 [MenuViewController instanceWithLeftViewController:nil CenterViewController:self.window.rootViewController]; ...
分类:
其他好文 时间:
2016-04-16 22:45:16
阅读次数:
168
1.新建RootViewController类 [objc] view plaincopy // // RootViewController.swift // UITableViewDemo // // Created by 赵超 on 14-6-21. // Copyright (c) 2014年 ...
分类:
其他好文 时间:
2016-04-16 12:34:09
阅读次数:
325
推出一个新的界面,返回上个界面和回到首页有两种形式,一种是push和pop,另一种是present和dismiss,我们先说第一种 从RootViewController跳转到FirstViewController 从FirstViewController 跳回 RootViewController ...
分类:
其他好文 时间:
2016-04-16 10:50:16
阅读次数:
203