navigation controller 打开一个新view controller

MainZhaotuViewController *vc = [[MainZhaotuViewController alloc] init];
        UINavigationController *nc = [[UINavigationController alloc] initWithRootViewController:vc];
        [self presentViewController:nc animated:YES completion:nil];

 

posted on 2015-03-23 15:41  西瓜999  阅读(100)  评论(0编辑  收藏  举报

导航