Sometimes when I use: [self presentViewController:viewController animated:YES completion:nil]; or even if a modal segue handles the transition, it just pops up without any transition, making it look ugly. Whilst rare, when this does happen, every single modal VC does the same regardless of where/how it's called. When I restart the app the issue goes and that's it, it won't happen again for some time. Something which is odd though, there is a transition when dismissing the VC. Is this a bug?
Thanks for the help,
Regards,
Mike
Update: I think I've found the cause. This bug effects most modal VC's and all Segue modal VC's when ever I present my tutorial view like this:
[tableView deselectRowAtIndexPath:indexPath animated:NO];
TutorialViewController *tutPopUp = [[TutorialViewController alloc] init];
self.tabBarController.modalPresentationStyle = UIModalPresentationCurrentContext;
[self presentModalViewController:tutPopUp animated:NO];
I think the issue is with self.tabBarController.modalPresentationStyle = UIModalPresentationCurrentContext; which effects the entire tab bar. What is the default value so I can set is back once I've loaded this particular VC?
Answered: After doing some reading of the Apple Docs I discovered that the default modalPresentationStyle is UIModalPresentationFullScreen so setting it to thus after using another presentationStyle, fixed it.