开发者

tabbar rotating

is it possible to rotate Tabba开发者_运维百科r with all items(tabbar controller) as it is in landscape when particular touch event is happening in one view (portrait) without shouldAutorotateToInterfaceOrientation?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜