tags:

views:

31

answers:

1

hi, is it possible to rotate Tabbar with all items(tabbar controller) as it is in landscape when particular touch event is happening in one view (portrait) without shouldAutorotateToInterfaceOrientation?

+1  A: 

It is possible, but you need to call

[[UIDevice currentDevice] setOrientation:UIInterfaceOrientationPortrait];

Which is an undocumented api, and it will cause the appstore to regect your app.

FYI, I've created a nifty solution to rotating tabbar controllers, you can read about it here: BAGTabbarController

Ben
there is no way to turn tabbar for landscape without using private API?
Mikhail Naimy
will apple accept your solution "BAGTabbarController" pls?
Mikhail Naimy
BAGTabBarController is used in iRef-Kickball, www.itunes.com/apps/iref-kickball
Ben