Default-568h#2x.png for iPhone5 - iphone

I want to update my app so that can be deployed on iPhone5.
Xcode(4.5) has a Default-568h#2x.png which is a black image(640X1136).
In iPhone5's simulator, it still loads the old Default#2x.png. I wanted to know whether it will be same on the actual device ?
Thanx !!!

Switch to the "iPhone (Retina 4-inch)" device from the Hardware menu in the simulator and you should see the iPhone 5 default image on launch.

Happens to me when I launch iPhone 4" simulator with iOS 5.1. When changed to iOS 6, launch image is OK.

Related

Why my Xcode4.5 doesn't has iPhone(Retina 4-inch) and iPhone(Retina 3.5inch)

Today, I update the Xcode4.5 and install it on my computer which has a earlier version Xcode4.3, after installing I open Xcode4.5, when I want to run my app, there is only IOS Device, iPad 6.0 Simulator and iPhone 6.0 Simulator. How can I test my app on both iPhone 4-inch and iPhone 3.5-inch, thank you very much.
Change the setting in the iPhone simulator.
If you app will not will up the entire screen, you are probably missing the Default-568h#2x.png which needs to be 640 x 1136 pixels.

Xcode 5 iPhone app on iPad simulator

I've installed Xcode 5 alongside Xcode 4 so I can build for both iOS6 and 7 SDKs.
I have a working iPhone App that, when I load it in Xcode 4 and build it to run on the iPad simulator it shows up with the 1x/2x button in the bottom right corner of the screen indicating that this is an iPhone App installed on an iPad.
When I do the same thing in Xcode 5, however, it appears that it isn't installing it on the iOS7 iPad simulator as an iPhone app because I don't see the 1x/2x button in the corner, and things are laid out slightly differently.
Again, this is the exact same Xcode project (actually it's a workspace) opened in Xcode 4 and built for an iPad simulator and opened in Xcode 5 and build for an iPad simulator.
Does anybody have any ideas on how to get an iPhone app to run as such on an iOS7 iPad simulator? Or why this might be happening?
iOS 7 uses the iPhone's retina artwork and so always appears in x2 format.

iPhone 6.1 Simulator

I am just starting to learn programming for the iPhone and I had a very general question.
I was wondering why is it that when I run my program in xcode, even though I am programming for iPhone 5, when I run the "iPhone 6.1 Simulator" instead of a iPhone 5 Simulator and iPhone 4 pops up?
I am on Mac OS X - 10.7.5
And Xcode version 4.6
Could it be because the apple id I used to download xcode with only has an iPhone 4 and not a 5?
Thanks for the help.
To change your simulator device to other screen resolutions go to Simulator - Device - Retina 4 inch (for iPhone 5) and Retina 3.5 inch for iPhone 4/4S. Use iPhone for iPhone 3GS resolution.
In the Window menu you can change the scale to fit your Mac's screen resolution. (I use 75% for iPhone Retina 3.5 inch).
I also suggest you download iOS 5.1 Simulator if you want to deploy apps for iOS 5.1 and up - it comes really handy and it actually does have some differences from iOS 6.
Choosing "iPhone 6.1 Simulator" is telling Xcode that you want to use the currently selected iPhone simulator with iOS 6.1.
To select the specific iPhone simulator you need to click on the Hardware then Device menu in the simulator.
Your Apple Id and your registered devices have nothing to do with this.

iOS simulator -- swap from retina iPhone to non-retina iPad in a single step

I program for both iPhone and iPad. When doing iPhone stuff, I prefer the retina iPhone simulator. When doing iPad stuff, I prefer the non-retina simulator. Swapping between them is a two-step process for me. I have to switch xCode from the "iPhone simulator" target to the "iPad simulator" target. The problem is that when I do this, the simulator switches from retina iPhone to retina iPad. I therefore also have to go into the simulator app and change the hardware to non-retina iPad.
Is there a way to accomplish that in a single step?
Yes! and its super easy. In Xcode 4+ click the dropdown with the name of your target in it in the top menu bar next to the play button. Then click edit scheme.
Click the run action and then click the Options tab. You will see you can specify the type of screen you want to use when you click the play button (build and run) in Xcode.
Then when you switch device target in Xcode it will automatically switch the simulator to the right device and screen type for you.
Also if you're running less than iOS 5.1 the simulator will switch back to non-retina. Set SDK to 5.1+

iPhone app runs on iPad simulator, but the background is inverted!

i've installed new sdk 3.2 pre-release wich have iPad simulator, i have tried to launch an iPhone app created by me in iPad simulator; the main view of this app has an image as background; when launch it on iPad simulator this background(self.background = [[UImage..... ) it comes inverted, from top to bottom.
Any idea??
thanks in advance....:)
This was an early bug in the SDK, which was fixed somewhere around Beta 3.