This issue only occurs on iPhone 5, regardless of iOS version.
- I present the secondViewController from the firstViewController it is presented this time.
- I then dismiss the secondViewController.
- I attempt to present the secondViewController again from the firstViewController, this time it isn't presented but the UI is blocked,
From logging the process I can see that viewWillAppear method is called the first time but not the second time.
FirstViewController
- (void)presentView {
SecondViewController *secondViewController = [[SecondViewController alloc] init];
secondViewController.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
[self presentViewController:secondViewController animated:YES completion:nil];
}
SecondViewController
- (void)dismissView {
[self.presentingViewController dismissViewControllerAnimated:YES completion:nil];
}