Discussion Forums  >  Grunts, Groans, Complaints

Replies: 4    Views: 143

AppGuy30
Code is Art
Profile
Posts: 737
Reg: Oct 29, 2011
location unknow...
14,070
09/02/12 08:53 AM (13 years ago)

How to prevent rotations on all devices including iPad??

Is there a way that i can prevent all device rotations including iPad? Thanks, Jack
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
09/02/12 09:01 AM (13 years ago)
Reckon you'll find your answer on this thread buddy. http://www.buzztouch.com/forum/thread.php?tid=5A7CF6F481A7024E54EBDBE&fid=06DB0BCB08E2222&sortColumn=FT.id&sortUpDown=DESC&currentPage=1 To disable rotation on iphone, use the core properties, to disable on ipad, on Xcode, go to BT_rotatingNavCOntroller.m and BT_rotatingTabBarController.m and where you see if([appdelegate.rootApp.rootDevice isIPad]){ canRotate = TRUE; and replace with: if([appdelegate.rootApp.rootDevice isIPad]){ canRotate = FALSE;
 
AppGuy30
Code is Art
Profile
Posts: 737
Reg: Oct 29, 2011
location unknow...
14,070
like
09/02/12 09:02 AM (13 years ago)
Thanks so much!!
 
kumar apps
Aspiring developer
Profile
Posts: 22
Reg: Sep 02, 2012
Mumbai
220
like
09/07/12 11:17 PM (13 years ago)
what about android?
 
Worker73
Android Fan
Profile
Posts: 419
Reg: Feb 06, 2012
Austria, Klagen...
4,490
like
08/14/13 03:54 AM (12 years ago)
Following ;-)
 

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.