知道为什么推送到视图控制器不起作用吗?
-(IBAction)dismissView
{
RegSuccessViewController* viewController = [[RegSuccessViewController alloc] initWithNibName:@"RegSuccessViewController" bundle:nil];
[self.navigationController pushViewController:viewController animated:YES];
NSLog(@"push to reg success");
}