iPhone 5 device launching app as an iPhone 4 - ios

I´ve made an app, and I tested it on my iPhone 5, iOS 8.1.2 It worked perfectly there, however when i tested it on my fathers iPhone 5s, iOS 7.1.2, the top and bottom of the screen were cut off, as if it was tested on an iPhone 4. Does anyone know what could cause this? Thanks in advance.

You need the 4" launch image. You must have the launch screen file which only works on iOS 8. iOS 7 requires the standard launch images.

You need to add your launch screen image Default-568h#2x.png to your project and set it to the Asset Catalog. This will work in both iOS 7 and iOS 8

Related

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

How to test iPad Pro on the iOS simulator

It's been hinted at that the iOS simulator can be resized to show the full size keyboard in the iPad Pro (http://www.fastcompany.com/3047871/tech-forecast/the-ipad-pro-doesnt-need-a-physical-keyboard), which presumably would allow for the testing of an app in that screen size, but I haven't found a way to do it. The GM seed of Xcode 7 even has the iPhone 6S and 6S Plus, but no iPad Pro in sight. Anybody have any ideas?
If you run on the iPad Pro simulator in Xcode 7.1 Beta and use a storyboard (not an assets file) as your launch screen, it works great.
Check this thread:
iPad Pro launch image and App icon

xcode 6.1 not loading proper iPhone 6 and 6+ simulator

I made my entire app in Xcode 5.1.1. Saturday I downloaded Xcode 6.1 to make my app on iPhone 6 and 6+. I already placed the proper launch images and app icons for iPhone 6 and 6+. (For this app i'm not using size classes because Auto Layout doesn't work for me in this app.) I changed some of my code to fit iPhone 6 and 6+ but the simulator clearly isn't playing iPhone 6 and 6+ because none of the UIImageViews moved according to where I placed them with the code. It's still playing the zoomed in version of iPhone 5. How do I load the iPhone 6 and 6+ simulators according to my code and not the zoomed in version of iPhone 5?
I was told to place launch images for iPhone 6 and 6+ and it'd work, but it didn't.
here's what worked for me:
From the xcode pull down menus, Xcode > Open Developer Tool > iOS Simulator (if you get a pop up error just dismiss it)
Once in the Simulator go to Hardware > Device > Manage Devices.
Delete everything listed under simulator.
Reboot your machine.
After that navigate back to Manage Devices in the simulator and click the plus to add back your simulators. Then the iOS 8 simulators will show up. Hope that also helps you.
The old launch image asset doesn't provide the necessary support for iphone 6/6+. Remove your old LaunchImage item in your images.xcassets and create a new one. There will be additional options for adding the proper launch images for iphone 6/6+.

How to support app for iphone 6 and iphone 6++

my app is live on itune appstore but its showing that it is compatible upto iphone 5/5S. But i had tested the app on iphone 6 and 6++ simulators and it is working fine.
What i have to do so that it should show that this app is compatible with iphone 6 and 6++
Thanks
In order to support iPhone 6 and iPhone 6 Plus compatibility, either you need to use a LaunchScreen file or simply add Launch images for 6/6Plus. Now when you try to run the app, it will automatically detect screen size and you can clearly see the app in correct dimension and size.

How can I set the device on the iOS Simulator as an iPhone 5 in Xcode 4.6?

How can I set the device on the iOS Simulator as an iPhone 5 in Xcode 4.6? I've been trying to change it via the Hardware->Device option but still to no avail. I really appreciate your help! Thanks.
In Xcode 4.6 this is not possible, you will just have to keep the iOS simulator open.
Apple did fix this issue in Xcode 5.
The iPhone 5 chrome (image that make the iOS simulator look like the iPhone5) will only been shown it there is enough space to present it.
Other which it will just be a normal window, the working of the simulator are the same.
You can just select device->iPhone(Retina 4-inch) and use for example Windows->50% to make the simulator fit your screen.
In 4.6, the iPhone 5 is the 4" iPhone option. This is current for Xcode 4.6.3.
first go to hardware then device then iphone (Retina 4 inch)
then u can go to window then scale if you want to change the size of simulator to look same like iphone 5

Resources