I’ve got a portrait only VC that presents a landscape only VC. I’m struggling to see how it I can make it work. I’ve had some luck with calling an animation rotating the modal VC after it is presented but that looks a bit dodgy.
I’m stuck with iOS 4.3 so no storyboards.
what I would like is something like…
[landscapeVC setOrentation:UIDeviceOrentaionLanscape];
[portraitVC presentModalViewController:landscapeVC Animated:YES];
Thanks for any help
Use this in portraitVC’s viewDidLoad method and in shouldautorotate method: