2

If I activate the hotspot on my iPhone, the launch screen is moved up and in the bottom of the screen I have a padding space where I can see the wallpaper of my phone. I had the same problem on navigation controller, but I fixed it. Here I don't know what I can do. enter image description here

If anybody can help me.. Please

Adela Toderici
  • 1,118
  • 13
  • 30

1 Answers1

2

I found the solution of this problem. In AppDelegate.m I added this method:

- (void)application:(UIApplication *)application willChangeStatusBarFrame:(CGRect)newStatusBarFrame {
[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone];
}

The launch screen looks perfect.

Adela Toderici
  • 1,118
  • 13
  • 30
  • Deprecated in iOS 9. Have to use `UIViewController prefersStatusBarHidden` but since we don't have a view controller, we can no longer do this. – jowie Jun 12 '18 at 11:31