iOS - Push viewController z kodu i serii ujęć
Mam ten kod
PlaceViewController *newView = [self.storyboard instantiateViewControllerWithIdentifier:@"PlaceView"];
[self presentViewController:newView animated:YES completion:nil];
I mogę zmienić widok, ale naciskałbym ten widok, ponieważ gdy wrócę na tę stronę, stan utrzymuje się.
Próbuję umieścić ten kod:
[self.navigationController pushViewController:newView animated:YES];
ale nic nie robi.
Dzięki