user8135666
user8135666

Reputation:

The app is not showing on full screen on iPhone but is running fine on the simulator

enter image description hereenter image description hereThe app is completely visible on the full screen in the simulator but does not show up completely when I run it on the device. Here with attaching the screen shots for consideration. Simulator image

iPhone image

Upvotes: 3

Views: 2515

Answers (5)

Parvendra Singh
Parvendra Singh

Reputation: 985

enter image description hereThis happened only because of the splash screen for (Size 640 x 1136 ).

When you will add this size of splash screen this issue will solve.

If you already added then, i would suggest you to recheck the Size of your splash screen.

You have to check your image size only no need to do something else.

Please do one thing uncheck your iOS 6 or Prior from Assets.xcassets. You can check it in this image.
enter image description here

Upvotes: 0

Vivek
Vivek

Reputation: 5213

A solution for your case

You need to add splash screen @1x (Image for non retina display, don't put @1x), @2x, @3x of all devices, and check this 100% your issue will be fixed.

i.e

splashscreen.jpg (@1x, Don't need @1x for non retina display)
[email protected]
[email protected]

Please check splash screen size in this link

https://developer.apple.com/ios/human-interface-guidelines/graphics/launch-screen/

If still your issue not fixed please let me know or check above link.

Update :

  1. Please check Launch screen interface file base name in info.plist enter image description here

  2. Please check In General Tab and check enter image description here

Upvotes: 1

KKRocks
KKRocks

Reputation: 8322

You need try following solutions.

-> Add Launch Images and select in setting. enter image description here

-> Add Launch screen storyboard and select it as Launch screen file in Setting.

enter image description here

Upvotes: 0

Sam
Sam

Reputation: 58

What have you done to make the app FullScreen?
Maybe this will help:
Add the UIRequiresFullScreen key to your Xcode project’s Info.plist file and apply the Boolean value YES

Info.plist is one of the file below the Main.storyboard or viewController.swift
enter image description here

Reference

Upvotes: 0

Amal T S
Amal T S

Reputation: 3405

Add a splash screen. It will solve your issue. The top & bottom black color is because you didn't added a splash screen. Add it & it will return to a full screen view. This happened because you have migrated the project which developed in an older version of xcode

Upvotes: 2

Related Questions