I found out what the issue was. I had the following in my UINavigationController
subclass:
// Tell the system which initial orientation we want to have
- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation {
return UIInterfaceOrientationPortrait;
}
Removing that fixed the issue!