1

I need to adapt an app to iOS 7, and I'm having troubles when being run on iPad, since the size of the screen is a little cut off on both bottom and top, as in the image.

enter image description here

I tried to follow some guidelines (such as this) but no luck.

It works on normal iPad 1 on iOS 6 and iPad 2 on both iOS 6 and 7, but it's just in a reduced size (not no cut off images whatsoever).

Could anybody give me some hints please? Thanks a lot in advance.

Community
  • 1
  • 1
noloman
  • 11,411
  • 20
  • 82
  • 129

2 Answers2

0

I solved this creating a boolean in my Info.plist with the title View controller-based status bar appearance and a value NO.

Thanks everybody for the help!

noloman
  • 11,411
  • 20
  • 82
  • 129
0

As @noloman said: Set the following in your .plist

View controller-based status bar appearance (Boolean) to NO

I would suggest this also: Status bar is initially hidden (Boolean) to YES

And call the following within the application when necessary:

[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone];

(For example: When a MPMoviePlayerViewController* is returning from playing a video (as the status bar is shown))

Danoli3
  • 3,203
  • 3
  • 24
  • 35