开发者

How to let the red UIView cover the whole screen, expect from the navigation bar & status bar

When I rotate the iPhone, I set the redview to this : Also, I set the rootViewController to hidden already...

[appDelegate.myRootViewController.tabBarController.tabBar setHidden:YES];
redView.frame = CGRectMake(0, 0, 480, 320);

But seems that the tabbarcontroller still cover the redView,ow can I resolve it? Thank you. (I also try to set the tabbarcontroller's view 开发者_如何学JAVAto other position, but the redview still can't show in the whole screen, thank you.

How to let the red UIView cover the whole screen, expect from the navigation bar & status bar

)


Have you checked what index the tabbar has, it seems like the tabbar has a higher index in the view-hierachy than the redview.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜