xcode 5 removing ipad launch images when adding additional sizes - ios

So I have an app and since version 5.0 of Xcode came out I have been trying to get the launch screen images updated. Unfortunately when I try to add either the :
Portrait Retina, Landscape Non Retina, or Landscape Retina it removes whichever one is next to it.
So I will go to add The landscape Retina and the image will appear. However when I go to add the landscape non-retina the Landscape retina image will not longer be referenced.
After adding Non-retina:
Is there a way to double check or add the images without dealing with the interface? Am I doing something wrong? Is it because I haven't added the 1536x2048 yet?

Related

Orientation issue in iOS 7.1 or iPhone landscape

I am developing an app support iOS 6.0 and up and only in landscape mode for both device.
I have an issue in splash screen/launch screen for landscape mode, I have used 2 approach but didn't work properly.
Approach 1: When I use Images.xcassets to set Launch images. It work fine in iPad device of any OS but don't work in iPhone device as specially in 4" screen phones and 4.7" screen phones.
I have attached image of Images.xcassets as below:
Approach 2
Now because of above problem, I have used lauchscreen.xib for iPhone and iPad. Now problem is, when i use this approach, Splash screen display as a portrait mode rather than landscape in iOS 7.1 only.
Supported Device Orientation:
I was shock when I read this and heard about it..
Till iOS 7, Apple don't support Landscape mode for iPhone and iPod. Apple supports Landscape mode only for iPad.
So what if we develop app and give support from iOS 6 / iOS 7?
Solution:-
In Images.xcassets, select iPhone for portrait mode and add rotated image with 90 degree.
Let's understand with Step by step process :-
Suppose you have image with 480x320 dimension image.
Open that image in preview(Image editor)/photoshop.
Now rotate that image and save it.
Add rotated image at respective place in Images.xcassets.
Clean Project and run.
Please make sure your orientations are set appropriately. Also please refer this link for more details :- iOS 6: How do I restrict some views to portrait and allow others to rotate?

IOS 8 iPad make only Launch Screen portrait only

I know how to make an iPad app portrait only for the whole app and how to make particular views portrait only, but not how to make the launch image portrait only. How do I do it?
Currently I only have "portrait" checked under "iOS 7.0 and Later" in images.xcassets. The reason I want the launch image portrait only is I tried getting landscape to work but despite multiple attempts and asking about it here, I had no luck.
Clarification:
I want the app to handle both portrait and landscape iPad and iPhone. But the landscape image for iPad does not display so I want to force the launch image and just the launch image to be Portrait only.
No idea if you checked this but here is something often overlooked.
In the Workspace, if you choose your target project, in Deployment Info, there are two things to check there. First, make sure the Device Orientation is set to "Portrait" only. Then, open the drop down menu on "Devices". Choose each separately and do the same thing. For some reason for me, universal does't apply it to iPhone and iPad simultaneously.

iPad required launch images

I'm developing a universal iOS app that only supports portrait and upside-down interface orientations. When supplying the launch images in Xcode, I see that I have warnings for landscape orientations, even having only portrait and upside down enabled in device orientations settings. Does this mean that I need to supply landscape launch images anyway? I don't find this clear in Apple's documentation.
Thanks
No. These are warnings. Apple would prefer you support all orientations on iPad, and recommend you do, but they do not require it. (Yet)
Launch Images in Landscape Orientation is optional and xCode ignores it if it is not provided in Application.
However, If you are using Xcode5 there will be a folder named Images.xcassets > Launch Images > There will be a blank icon available for iPad Landscape > Right Click on those 1x and 2x icon > Remove Selected Items.
This will remove the warnings that you are having in your case.
Let me know if that helps.
an iPad app includes at least one launch image in portrait
orientation and at least one launch image in landscape orientation.

Splash icon slighlty varies after app launch

I have an application that needs to work on iOS6 and 7. I also have the required images for the splash. I have been facing a issue which I could not figure out how it occurs and the issue is when the splash screen loads,the initial image slightly changes after few seconds. Changes in the sense stretches a bit. This happens in landscape. Could someone point me out what can be the issue? Thanks in advance
Also note that I am setting the image according to orientation initially and on orientation change too. But before even the method for setting splash image is hit, there is an image already present on the screen. Where did this image come from? I even removed Launch image option from app's general settings but it still seems to assign an image by default !
Splash Landscape = 1024x768 and its #2x = 2048x1536
Splash Portrait = 768x1024 and its #2x = 1536x2048
I think you are missing the key point that landing image are 20px short from landing mode
Splash Landscape = 1024x768 Not correct
Splash Landscape = 1004x768 Correct
I found what was going wrong. I had images named as Default.png and Default#2x.png which were portrait images in my resource folder. I deleted and removed their references but the issue persisted. So I removed them from the project and renamed the required images, reset the simulator and run. Got it fixed. I guess the Xcode 5 automatically takes the images by default from resources and loads in the Launch Images in general tab. I even removed Launch Image set in general tab.

Can't add Launch Image for Landscape in XCode5

I added Lanch Image in my iOS Project with XCode5.
Here is problem ,When i added Landscape Non-Retina , the Landscape Retina image showing is disappearing.
So i added Landscape Retina again , above Landscape Non-Retina image showing is disappearing too.
Only one is working not both.
I don't know why i can't add both.
I need to add both image for Retina and Non-Retina.
How can i add it?

Resources