iOS App does not take full screen on some iPhones [closed] - ios

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I encounter a very strange problem: I got reports from some of my clients that my iPhone App does not show up full screen. It leaves a black bar on top and bottom of the screen. I have got one sample report from a client running iPhone 7 and iOS 12.1. Having the same device and installing the same App (AppStore download, as client does) I cannot reproduce this behaviour. I cannot reproduce it on none of my many devices and iOS versions nor on the simulators. According to AppStore reviews other clients are facing the same behaviour too, but nobody I know can reproduce it. I attached a screenshot taken by one of the clients: anonymous screenshot of app with black bars
Edit (due to Question put on hold by guys not understanding the question...): The desired behaviour of course is an App presenting full screen without any black bars
The project is all iOS/XCode default, I am using a LaunchScreen.storyboard with identical settings than a new default XCode Project. I am developing using XCode 9.4, Deployment Target is 9.0, the project is in Swift. I am aware that this was a common problem with the arrival of iPhone 5, but it should no longer occur if using Launch storyboards. None of my other app share this problem.
Does anybody has an advice?

It looks like you are using an old way of determining launch screen. After iOS7 you can define a launch storyboard to create the launch screen. If you use the old method by assets, were you add some images to be used as launch screen, the app 'understands' that is not updated for iOS greater than 7, so, you have to remove these assets screens and use the launch storyboard. It must fix the top and bottom banners.

You can add LuanchImage like:
Then you can set images with the correct sizes for atleast:

Related

Big problem with iOS app in Xcode for Launch Screen Update

As title I have a big problem with my iOS app.
I'm working on an update of launch screen of my app and have make several layouts modification.
After modification I have launch the app on simulator and on the physical device but it's possible to se the new launch screen, it appare the old launch screen and not how it appare on the storyboard now.
I have try a lot of possible solution find in the apple developer forum and on Stack but nothings of these work for me.
Help me I'm in Hell....

iOS 11 Black Bar on iPad when running iPhone App

I submitted an update to my iPhone only app recently. However, it was rejected with this explanation:
Guideline 2.4.1 - Performance - Hardware Compatibility
We noticed that your app did not run at iPhone resolution when
reviewed on iPad running iOS 11.
Please see attached screenshots for details.
Next Steps
To resolve this issue, please revise your app to ensure it runs and
displays properly at iPhone resolution on iPad. Even if your app was
developed specifically for iPhone, users should still be able to use
your app on iPad.
Resources
For information on iOS device screen sizes and resolutions, please
review the iOS Human Interface Guidelines as well as Points versus
Pixels in the View Programming Guide for iOS.
You may also want to view Size Classes and Core Components for more
information about designing apps for multiple screen sizes.
I'm using a Launch Screen.storyboard, so there shouldn't be any issues with displaying, but I'm seeing a slightly transparent black bar at the top of my app, covering a portion of it.
What am I doing wrong? How do I remove it?

Guideline 2.4.1 Releasing to App Store

I am trying to submit an app to the app store, and this is the issue I got:
Guideline 2.4.1 - Performance - Hardware Compatibility We noticed that
your app did not run at iPhone resolution when reviewed on iPad.
I have set constraints on all the view controllers. Would you know how to solve this issue (I have seen other posts related to this, but none have had an answer on how to solve that problem? Also, this has nothing to do with the deployment target, because I released only for iPhone, it is just that apple wants it to work for both iPhone and iPad, for some reason)?
Possible Solution (that worked for us)
View the app in iPhone 4 and design for that as well. For some reason the view dimensions of iPhone 4 and iPad are the same.
Thoughts
I had this issue happen to me a couple months ago. It basically means your app is not usable when used on iPads. This definition of un-usable could mean buttons are blocked off items are not structured correctly.

Xamarin App Keyboard is a different size to iOS Keyboard

I'm developing an iOS app in Xamarin (not using Forms, using Xamarin.iOS) and I have noticed that the keyboard which appears in my Xamarin built app is larger than Keyboards which appear in other apps.
E.G. My app
E.G. Other iOS app (Apple Notes)
The numbers aren't really important, what is important is that there is definitely a difference in size between the two keyboards in terms of key height and key spacing.
There does not appear to be any obvious options or settings surrounding this. Trying different Keyboard Styles (I'm using "Default") does not solve the problem.
I would like to get my Keyboard to be the same size as a normal iOS App Keyboard.
EDIT
Krumelur's answer is correct.
This is how I specified the launch screens
https://stackoverflow.com/a/25960203/807836
In Visual Studio, there does appear to be an issue with this XML entry being lost if you edit the project file through the IDE.
This is not Xamarin related. Your app is running in compatibility mode on an iPhone5 or 6. You will have to provide a launch screen for the particular device or a launch image to let iOS know you support the bigger screen.
See here on how to use launch screens.

Xcode 6 app won't stop launching in zoom mode

I have an app that was created in a previous version of Xcode. It used to not be universal so it launched in 1x/2x mode on an iPad.
Now we want it to run with universal storyboards and size classes. We have converted the storyboards to size classes and changed the project setting to "Universal". We have set up the constraints and it runs fine on iPhone 6 and 5 flavors. But when we launch on an iPad is launches in 2x Mode automatically.
I can not figure out what is going on.
Can not find anything here or on the googles that speaks to this issue. Everyone seems to have success with the steps I enumerated. One post I found here talks about using a launch file, but I changed our launch file to our main storyboard and it still launches in 2x mode.
Appreciate the help. Let me know if there is any screen shots or more info that would help make things clearer.
EDIT
Adding screen shots for the first comment below.
Edit #2
I wonder if it has something to do with the xibs in the storyboard not updating in the newer Xcode. This project was started long ago and the days before storyboards. All I know is that with the latest update of the beta Xcode it just magically works. So strange.
Problems solved when the latest Xcode Beta came out. Possibly something weird with the xibs since this is an old/converted project that stated before storyboards.

Resources