美文网首页
iOS学习之移除Main.storyboard

iOS学习之移除Main.storyboard

作者: b82e0191c0fe | 来源:发表于2016-07-19 19:11 被阅读90次
    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    
    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    
    TestViewController *vc = [[TestViewController alloc] init];
    
    self.window.rootViewController = vc;
    
    vc.view.backgroundColor = [UIColor blueColor];
    
    [self.window makeKeyAndVisible];
    
    return YES;
    
    }
    

    相关文章

      网友评论

          本文标题:iOS学习之移除Main.storyboard

          本文链接:https://www.haomeiwen.com/subject/qrzmjttx.html