C Chirone macrumors 6502 Original poster Mar 2, 2009 279 0 NZ Feb 10, 2010 #1 my app is in landscape, when i call presentModalViewController:animated: the device switches to portrait and doesn't switch back is it possible to present a modal view in landscape and keep the device in landscape mode?
my app is in landscape, when i call presentModalViewController:animated: the device switches to portrait and doesn't switch back is it possible to present a modal view in landscape and keep the device in landscape mode?
N North Bronson macrumors 6502 Oct 31, 2007 395 1 San José Feb 10, 2010 #2 Chirone said: my app is in landscape, when i call presentModalViewController:animated: the device switches to portrait and doesn't switch back is it possible to present a modal view in landscape and keep the device in landscape mode? Click to expand... What class of View Controller are you presenting modally? Is that class designed to display in landscape mode?
Chirone said: my app is in landscape, when i call presentModalViewController:animated: the device switches to portrait and doesn't switch back is it possible to present a modal view in landscape and keep the device in landscape mode? Click to expand... What class of View Controller are you presenting modally? Is that class designed to display in landscape mode?
dejo Moderator emeritus Sep 2, 2004 15,982 452 The Centennial State Feb 10, 2010 #3 Also make sure the view controller for the modal view has it's shouldAutorotateToInterfaceOrientation: set correctly.
Also make sure the view controller for the modal view has it's shouldAutorotateToInterfaceOrientation: set correctly.
C Chirone macrumors 6502 Original poster Mar 2, 2009 279 0 NZ Feb 10, 2010 #4 dejo said: Also make sure the view controller for the modal view has it's shouldAutorotateToInterfaceOrientation: set correctly. Click to expand... yeah, woops, only did that once in one view controller unrelated to it.... slightly embarrassing....
dejo said: Also make sure the view controller for the modal view has it's shouldAutorotateToInterfaceOrientation: set correctly. Click to expand... yeah, woops, only did that once in one view controller unrelated to it.... slightly embarrassing....