UIStoryboard*sb=[UIStoryboard storyboardWithName:@"Main" bundle:nil];
        LoginVC*loginVC=[sb instantiateViewControllerWithIdentifier:@"Login"];
        UINavigationController*loginNav=[[UINavigationController alloc]initWithRootViewController:loginVC];
        [self presentViewController:loginNav animated:NO completion:nil];

 

posted on 2015-08-27 14:39  火星的蝈蝈  阅读(144)  评论(0编辑  收藏  举报