Xcode 6.4 iOS 8.4 iPhone 6 layout issue - ios

This is completely puzzling me, I am using Xcode 6.4 and iOS 8.4 and the iPhone 6 simulator. I start a new vie controller project for the iPhone only, go to the main storyboard turn off auto layout, keep size class data for iPhone, and disable Size Classes. I then put down four UIStepper one in each corner of the view in the main storyboard. The build and run the app in the iPhone 6 simulator.
I have also tried cleaning the build folder and starting a new project altogether but this keeps happening. any suggestions would greatly be appreciated.
The picture shows the results being offset left and upwards.

Have you tried to run it in an iPhone 5s simulator? For me it looks like that your Storyboard is configured for an iPhone 5s display.
However I would not recommend you to develop without Auto Layout and Size Classes, because your App will not work on different iPhones and thus probably will be never in the App Store.

Related

UI change in app after xCode 9 iOS 11

I found my app changed UI after I updated xCode to 9.
See the image with post, Fonts look bigger, views look bigger, images lost crispness.
I'm facing this issue in iPhone 6 and later these issue, iPhone SE and and 5S looks fine the same.
Did anyone face this issue??
I got issue resolved.
We had started app with iOS 7, since then we have been using launch images set. we had never used Launch screen xib or storyboard....after adding launch screen xib everything's working fine now :)

Custom font displays very bigger size in different simulator sizes (e.g iPhone 5c, 6s, etc)

I am working on iOS app, I added some custom font to my app. After applying that font, its working fine in iPhone 7 Plus, but if I run that app in iPhone SE or 6S, 6 Pus, showing very big font sizes compare with 7 Plus. Due to this, my view getting very worst layouts. Even app icons also showing big on above-mentioned devices simulators. Really strange, I am checking with Simulator as I don't have the device now.
By the way, we are not using constraints, we are using auto resizing.
Xcode version : Xcode 8,
Simulator iOS 10.2
Can anyone suggest me how to fix this?
I had the same issues when I was not using auto resizing properly, try to figure out the auto resizing once again and see the result for different devices on storyboard itself.

layout issue in iPad when running the iPhone app in iPad (Objective-c)

I have an issue with the iPhone app. I have implemented one iPhone app (not universal). When I am creating the new project I have deleted the Launch Screen,Story board from the project and implemented the MainWindow.xib like in the old format. I have designed the xibs for iPhone 5. So in iPhone 5,6 and 6 plus everything is working fine. But When I run the iPhone app in the iPad the bottom part got cut off. If I design the xibs for iPhone 4, eventhough I added the Default-568h#2x.png it is not supporting for iPhone 5 but working well in iPad.For reference I have attached the screenshot . The screenshot for iPhone 5 screen. It is not scaling to iPhone 5 after adding the Default-568h#2x.png. Black color part width is 568-480=88 pixels.
So please guide me to handle the iPhone 4,5,6,6 plus and iPad.Thank you for spending the valuable time. Please let me know if I am not clear.
I am using xcode 8.0 and iOS 10.0

Xcode 8.1 iPad simulator draws screen twice

I'm trying to bring my App current to iOS 10.1, using Xcode 8.1. My App is targeted to both iPhone and iPad. All the simulators for the iPhones work o.k. However all the iPad simulators draw a screen that is bad, and after a second, the good screen appears.
The bad screen looks like:
After about a second the actual screen appears. It looks like:
This did not happen in earlier versions of Xcode, and I sure would appreciate some suggestions on why Xcode 8.1 is doing this.
Charles
The problem is that you are still using a launch screen image file. Those no longer work. The initial screen nowadays is your LaunchScreen.xib or LaunchScreen.storyboard. You need to have one and configure it so that it matches your actual initial interface.

Autolayout issue in iOS 7 and iOS 8 (works fine in iOS 8.1)

I have created a project with Xcode 6.1 and set the deployment target to iOS 7.1
I have implemented the autolayout but deselected the size classes option from the storyboard.
Now whenever i run app on ios 8.1 simulators everything is fine but the moment i run app on iOS 7.1 simulators it causes problem.. Even if i deselect the autolayout option than to its casuing the same layout issue.
See Images to get better understanding
simulator 8.1 iPhone 5
simulator 7.1 iPhone 5
I am really not getting whats the issue as if the issue was related to Autolayout than after deselecting atleast screen should be covering the whole screen.
Please help me!!! Thanks a lot in advance

Resources