-2

I have a ipad app that allways displays with a white border at the bottom of the ipad screen like in this screenshot:

enter image description here

The problem is both in the retina/non retina simulator and ipads.

The app is just a uiView that is not set to any special sizes. Does anyone have a hint to what could be wrong?

jscs
  • 63,694
  • 13
  • 151
  • 195
user404
  • 256
  • 2
  • 9

1 Answers1

0

Try setting the wantsFullScreenLayout property of your view controller to yes.

[myViewController setWantsFullScreenLayout:YES];
Darren Findlay
  • 2,533
  • 2
  • 29
  • 46
  • That did not work, but you still solved my problem, searching SO for this gave me this question: http://stackoverflow.com/questions/2247647/offset-on-uiwindow-addsubview/2248309#2248309 which solved my issue. – user404 Apr 07 '13 at 20:28