Я пытаюсь переключаться между представлениями.
Классы наследуются от UINavigationController.
Я использую этот код в своем IBAction:
CellSubview *personView = [[CellSubview alloc] init]; // The new navigation controller
self.modalTransitionStyle = 0; // tried all 3 of the options
[self presentModalViewController:personView animated:YES];
[personView release];
когда:
@interface CellSubview : UINavigationController
Я просто не могу сделать вид, чтобы скользить вправо. (как и большинство приложений)
Он всегда идет от снизу вверх и не относится к опции:
personView.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
// or
personView.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
Я просто хочу, чтобы слайд oldViewController.view влево, а новый newViewController.view входил справа.
Благодарим вас за совет
Itay