码迷,mamicode.com
首页 >  
搜索关键字:rootviewcontroller    ( 392个结果
iOS9 UIWindow rootViewController
在iOS9中App被其他应用唤起的时候Crash,正常启动或者调试模式都不会Crash.通过XCode - Window -Device,查看设备的log,如下Assertion failure in -[UIApplication _runWithMainScene:transitionConte...
分类:移动开发   时间:2015-11-21 00:32:38    阅读次数:352
IOS视图控制器之间的参数传递
1、使用代理delegate的方法2、使用通知Notification的方法3、KVO等方法~~~~~~~~~~~~~~~~1、使用代理delegate的方法rootViewController (A)subVIewController (B).m实现效果:
分类:移动开发   时间:2015-11-09 19:00:07    阅读次数:227
UIActionSheet
#import "RootViewController.h"@interface RootViewController ()@end@implementation RootViewController- (void)viewDidLoad { [super viewDidLoad]; UIBu...
分类:其他好文   时间:2015-11-04 09:19:28    阅读次数:145
iOS 从手机相册里选取图片
#import @interface AppDelegate : UIResponder @property (strong, nonatomic) UIWindow *window;@end#import "AppDelegate.h"#import "RootViewController.h"@...
分类:移动开发   时间:2015-11-01 16:41:51    阅读次数:216
找到主窗口
1> UIWindow *window = [UIApplication sharedApplication].keyWindow; window.rootViewController = VC; 2> [[[UIApplication sharedApplication] delegate...
分类:其他好文   时间:2015-11-01 16:32:17    阅读次数:138
Color, 霓虹灯效果练习
#import "RootViewController.h"@interface RootViewController (){ CAGradientLayer *gradientLayer; NSTimer *timer;}@end@implementation RootViewControll.....
分类:其他好文   时间:2015-11-01 11:26:58    阅读次数:189
delegate的练习
//在RootViewController.h里面遵守协议#import @interface RootViewController : UIViewController@end------------------------------------------------------------/...
分类:其他好文   时间:2015-10-31 21:23:12    阅读次数:224
UINavigationController, 导航控制器
UINavigationController, 导航控制器单视图控制器工程, window的rootViewController只能管理一个视图控制器缺点: 切换页面必须手动修改代码self.window.rootViewController = [[[RootViewController allo...
分类:其他好文   时间:2015-10-31 19:57:25    阅读次数:185
UIScrollView语法用法样例
#import?"RootViewController.h" #define?kScreenSize?[UIScreen?mainScreen].bounds.size #define?kPrintDebug?NSLog(@"%s",__func__) @interface?RootViewController?()<UIScrollViewDelegate> { ?...
分类:其他好文   时间:2015-10-31 13:09:10    阅读次数:175
UIWebView控件
#import "RootViewController.h"@interface RootViewController ()@end@implementation RootViewController- (void)viewDidLoad { [super viewDidLoad]; NSStr.....
分类:Web程序   时间:2015-10-30 18:35:33    阅读次数:174
392条   上一页 1 ... 13 14 15 16 17 ... 40 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!