Discussion Forums  >  Grunts, Groans, Complaints

Replies: 2    Views: 86

Njmpwnz
Apple Fan
Profile
Posts: 165
Reg: Feb 08, 2011
Cleves
2,350
05/17/12 07:24 PM (13 years ago)

Rotation

Can I block rotation on ALL devices?
 
mutzy
Aspiring developer
Profile
Posts: 841
Reg: Nov 03, 2010
Medford, MA
9,860
like
05/17/12 08:09 PM (13 years ago)
Yes. I assume you're working with xcode? The following is a post from Dave from about a year ago... -------------------------------- You can't prevent rotation on large devices from the control panel - iPads will always rotate. You could prevent this by hacking in the source. It's an easy change in two files. Return 'NO' instead of 'YES' in the shouldAutorotateToInterfaceOrientation method. Do this in two files: BT_Layout > BT_rotatingNavController.m BT_Layout > BT_rotatingTabBarController.m ----------------------------- to see the whole thread go here: http://www.buzztouch.com/forum/thread.php?tid=54B8A63D4130145
 
Njmpwnz
Apple Fan
Profile
Posts: 165
Reg: Feb 08, 2011
Cleves
2,350
like
05/18/12 02:33 AM (13 years ago)
Hope this works. Thank you! It's somewhat rare to get very specific answers like that.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.