tags:

views:

122

answers:

2

I have an uitabbarcontroller which contains a couple uiViewControllers. When i show one of those controllers i am hiding the tabbar. This view has a fullscreen uiimageView. The thing is i am seeing a white rectangle over where the tabbar is hidden.

I have tried resizing the views but the white rectangle is still there. Any ideas? Thanks

A: 

Fullscreen in the tabbar or for the entire viewport of the device? The rectangle is there because one of your views is not positioned correctly.

Validate that your UITabBarController and/or UIViewController is set to the correct size and the correct position on the screen.

David McGraw
A: 

I have the same problem. In my case I have an UIImageView in a UIScrollView. I want it to appear fullscreen like the photo app and have the tab bar disappear. I can get it to disappear, but i cannot get it to resize properly. The area where the tab bar was is not drawn. It appears as a white rectangle.

I've tried to debug frame sizes. Up the hierarchy a see a UIViewControllerWrapperView. This is the object that does NOT resize no matter how large I make the child views. I've tried setting requests full screen. I've tried setting all sorts of sizes and resizing options all to no avail. Any ideas appreciated.

I also posted a question on stackoverflow at http://stackoverflow.com/questions/3586869/how-to-make-controls-fade-away-on-ipad-iphone-as-per-interface-guidelines and also posted a question http://stackoverflow.com/questions/3596015/how-to-resize-uiviewcontrollerwrapperview

David