简体   繁体   中英

iPhone - why the fullscreen does not work but it works with iPad?

在此处输入图片说明 In iPad Pro, Air, Mini the same settings are working, but when i use iPhone 7 real device and start the same app, it does not go as full screen like it does with any iPad.

Is there any other settings i might need/missing to make both platform run my app correctly?

在此处输入图片说明

- (void)viewDidLoad {
  [super viewDidLoad];
  self.view.backgroundColor = [UIColor blackColor];
    //[self myMethodHere:@"testing/pesting"];
  [self showASimpleExitButtonOnBottomCenter];
}

Follow the image, I had the same issue once for this section. See it, if it helps you.

在此处输入图片说明

due Launch Images Source the problem was arised.

Hope it helps you..

Solution to the problem was:

在此处输入图片说明

1) remove "Launch image source"

2) Add "Launch Screen file" > new LaunchScreen.storyboard

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM