我有这段代码
PlaceViewController *newView = [self.storyboard instantiateViewControllerWithIdentifier:@"PlaceView"];
[self presentViewController:newView animated:YES completion:nil];
我可以更改视图,但我希望当我返回到这个页面时,状态能够保持不变。
我尝试放置以下代码:
[self.navigationController pushViewController:newView animated:YES];
但是并没有做任何事情。
谢谢