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+.
Related
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
Faced the problem with Launch images in Xcode 6.1.1
When I set all of the images - iPhone 4s, iPhone 5/5s and iPhone 6 doesn't show up (black screen), however the resolutions for the particular device is set right, as all of the images are on their places.
https://dl.dropboxusercontent.com/u/71223199/temp/01.png
I use Landscape right/left.
Funny stuff is when I'm adding them one by one, they first work.
https://dl.dropboxusercontent.com/u/71223199/temp/02.png
But once I add images for iPhone 6/6+ they don't work again.
iPad works fine.
Have anyone seen any step-by-step tutorial on how to set up images?
I have my another project (portrait orientation) and it works fine when images for all devices are set up.
Sounds like Apple didn't fix this landscape-only launch images bug with their latest update to Xcode. You'll likely have to manually edit your project's info.plist file to include the UILaunchImages array. The selected answer here worked for me for the previous version of Xcode:
How do I create launch images for iPhone 6 / 6 Plus Landscape Only Apps?
More detail on why this particular bug exists (at least it did in Xcode 6.1) in the last post of this thread:
Supporting iPhone 6 and iPhone 6+ with different launch/splash screen image for iPad Portrait and Landscape orientations
I am supporting iOS8 and greater in my App. However, I cannot get passed this Image Asset warning. What file am I missing? See the below screenshot:
an iphone retina (4-inch) launch image for ios 7.0 and later is required
You've suppled images for 4.7 and 5.5-inch devices but you need to have one for 4-inch devices as well (pre-iPhone 6).
You will need to select the checkboxes under "iOS 7 and later" (iPad ones if you're making an iPad app, iPhone one if iPhone app, all if Universal) at the right pane. These are used in both iOS 7 and 8.
I've been trying for the past hour to create an iPhone only app on Xcode which runs with the 2x and 1x option. However when I run it on my iPad Mini with Retina Display its displaying as a full screen app instead. I've tried to set the deployment target devices to just iPhone, and unchecked the "Use Size Classes" as well but it's not working. Is this a Xcode bug or am I missing something?
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