zoukankan      html  css  js  c++  java
  • AppDelegate 里一个基本的跳转方法,用来在rootView崩溃的时候直接调试我自己的页面

    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
    {
        self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
        self.window.rootViewController = [[MHSlidingManager sharedInstance] getSideViewController];
        self.window.backgroundColor = [UIColor whiteColor];
        [self.window makeKeyAndVisible];
        return YES;
    }

    改为

    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
    {
        self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    //    self.window.rootViewController = [[MHSlidingManager sharedInstance] getSideViewController];
        self.window.backgroundColor = [UIColor whiteColor];
        MHBaseNavigationController *baseNav = [[MHBaseNavigationController alloc] initWithRootViewController:[[MHBaseContentViewController alloc] init]];
     
        self.window.rootViewController = baseNav;
        
        [self.window makeKeyAndVisible];
        return YES;
    }
  • 相关阅读:
    JS URL传中文参数引发的乱码问题
    git (转载)
    php webservice
    php date之间的相互转换
    在图片上加字符-base64转图片-图片转base64
    转:微软面试一百题
    2014-8-17 note
    some base knowledge
    introduction
    Centos6.6 编译安装nginx
  • 原文地址:https://www.cnblogs.com/guozai9527/p/4025694.html
Copyright © 2011-2022 走看看