首页 > 代码库 > 设置跟视图

设置跟视图

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

    [self.window makeKeyAndVisible];

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

    self.window.rootViewController = vc;

设置跟视图