开发者

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

开发者 https://www.devze.com 2023-02-03 08:08 出处:网络
When I rotate the iPhone, I set the redview to this : Also, I set the rootViewController to hidden already...

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

精彩评论

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