NSMutableArray *controllers = [NSMutableArray arrayWithArray:self.navigationController.viewControllers];
controllers[0] = [[RegisterViewController alloc] init];
[self.navigationController setViewControllers:controllers];
NSMutableArray *controllers = [NSMutableArray arrayWithArray:self.navigationController.viewControllers];
controllers[0] = [[RegisterViewController alloc] init];
[self.navigationController setViewControllers:controllers];
本文标题:iOS开发更改navigationController的root
本文链接:https://www.haomeiwen.com/subject/qkcructx.html
网友评论