iOS - App Displaying Scrunched Pre-Retina Version - ios

I have an iOS app that was working fine. Displaying fine, operating fine. When I uninstalled it and gave it a fresh install, about an half an inch on both the top and bottom of the screen is black. It appears to be thinking it's an older iPhone and trying to fit it into a smaller screen. I don't recall changing anything related to this. Any ideas what it might be?

You are testing this in iPhone5 (4 inch size device) than you are finding box layout (black margin top bottom ) hope i am assuming right than
please check your splash image from iPhone5 that is 640x1136 it is not load right now or it would be missing in your application.
add splash screen for 4 size device it will work.
If you are using image-assets for splash screen than add this image in R4

Related

How to remove keyboard enlargement in ios objective c

I want to show keyboard smaller but causing problem. Please compare both images, keyboard size is bigger in first image than second image and also vertical spacing between two character is more . I have already added Retina 4-inch launch image ,Retina HD 4.7 inch launch image and retina HD 5.5 launch image. Keyboard is showing proper in iphone 6 but my app design causing problem when i run in iphone 5. How I can show keyboard smaller without design problem? I have searched a lot but couldn't get solution of this problem.
This is image shows the proper keyboard size which I want in my app.
this is my iPhone 5 design image, here keyboard is looking starched.
see this is my iPhone 6 design image, it is looking fine.

Autolayout not working on iOS7 and Xcode 6

I've started using Xcode auto layout for my projects.
Auto-layout works perfectly when I'm testing on ios8 devices, it the view scales as needed.
However, things get a little crazy with ios7.
When I test my app on an ios7 iPhone 5 simulator, the app doesn't scale-up to the larger screen,
but only shows the 3.5 inch view, leaving black bars on the top and bottom of the screen.
I am using a tableView controller.
How do I scale the tableViewController up so that it fits on a larger screen in ios7?
(Like I've said, my app fits perfectly in ios8, on all screen sizes, but not in ios7.
Also, it scales fine on an ios7 ipad.)
thanks.
The Xcode (6) IDE should give a warning about this, that may not be so clear:
"Applications using Launch Screen Files and targetting iOS 7.1 and earlier
need to also include a Launch Image in an Asset Catalog."
This means you need to have the proper Launch-Images for the "Retina 4" screen,
which is 640 × 1136 pixels, and it should be configured in the assets-catalog,
just like your Application-Icons ("AppIcon"), but under "LaunchImage" there.
Once you add this 4-inch-compatible Launch-Image to your application,
iOS-7 will assume you are properly supporting the "Retina 4" screen,
and will launch the application in 4-inch mode.

Strange iPhone5 letterboxing

I have just installed Xcode 4.6.3 to test my OpenGL game (which was developed in Xcode 3) on Retina 4" simulator, and I have got two black bars on the screen's top and bottom.
I have added a Default-568h#2x.png image file with dimension of 640x1136 to my project, when I am testing on the iphone simulator, the Default image is displayed correctly with no bars at all, but once the game starts, the top bar is moved to the bottom of the screen, now I have a sum of two bars at the bottom and no bar at all at the top.
I have done some google search but it seems no one had the same problem before, I am getting this result on the iPhone simulator and have got no iphone5 to confirm this would happen in real device...
I would really appreciate someone could help on this.
Thank you.
I was having a similar problem and the solution I found was to stop using the asset catalog for the Launch Images. That allowed it to revert to using the properly named files it was looking for.

Cant remove two horizontal black bars on iPhone 4 app

I am developing an application for iOS with Xamarin Studio and when I try the app out on my iPhone and in the simulator, there are two horizontal bars at the top and bottom when the device is tilted in landscape orientation. I've seen some people have said that you need to add a launch image and name it Default-568h#2x, but that doesn't solve my problem.
Also I tried deleting and resetting content on the simulator and cleaned my project. Usually I see posts about the iPhone5 letter-boxing causing problem for some people, but for me it's the iPhone4 and 4s which is causing the problem. Anyone have any other ideas on what might be the problem?
You're using the iPhone 4 simulator. The image is being resized with fixed aspect, thus the letterboxing. Did you include a 640x960 Default#2x.png launch image?

See all of iOS 7 simulator in Xcode 5 on non-retina Macbook

I am trying to test an app in the simulator (3.5 retina iPhone) and am running into a bit of an annoyance. I can't see the bottom 10th of the screen...
I have tried the Cmd+3 shortcut but unfortunately that part of the screen is still missing. For example, the card should be in the middle of the screen below:
For this app, I have some components at the bottom of the screen that I can't see in the simulator. For now, I'm having to move the components further up the screen so that I can test them but it isn't ideal.
Has anyone else encountered this issue?
I think you have designed your view for the 4 inch display, and have not set up autolayout/springs and struts to layout your view correctly.

Resources