设置跟视图

    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];

    [self.window makeKeyAndVisible];

    DYViewController *vc = [[DYViewController alloc] init];

    self.window.rootViewController = vc;

posted @ 2016-09-27 10:08  柳仙慧子  阅读(105)  评论(0编辑  收藏  举报