Discussion Forums  >  Uncategorized

Replies: 3    Views: 347

appvision
Aspiring developer
Profile
Posts: 139
Reg: Jan 20, 2011
location unknow...
1,390
05/21/11 11:56 AM (14 years ago)

Stop rotation on all screens

As of Schooner' V1.5, to stop rotation on all screen sizes, is it correct to just change: //allow / dissallow rotations BOOL canRotate = TRUE; to //allow / dissallow rotations BOOL canRotate = FALSE; in BT_rotatingNavController.m and BT_rotatingTabBarController.m?
 
basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
like
05/21/11 05:13 PM (14 years ago)
I did that in 1.5 with an app - it's under core properties: Allow / Prevent Rotation (landscape, portrait)
 
appvision
Aspiring developer
Profile
Posts: 139
Reg: Jan 20, 2011
location unknow...
1,390
like
05/22/11 11:53 AM (14 years ago)
You can use that to prevent rotation on small devices. How do you prevent rotation on larger devices (iPad)?
 
erichopf
buzztouch Evangelist
Profile
Posts: 316
Reg: Mar 14, 2011
NY, NY
3,460
like
05/22/11 03:28 PM (14 years ago)
I am away from the comp now, on my phone. But have you tried editing the info.plist file in Xcode?
 

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.