AssetCatalog LaunchImage Landscape only - iPhone 4S/5/5S not shown - ios

For a Sprite Kit Game i am providing my LaunchImages through an AssetCatalog.
The catalog looks like this:
The image is shown correctly on:
all iPads
iPhone 6
iPhone 6 Plus
The image is not shown on:
iPhone 4S
iPhone 5
iPhone 5S
I am developing for a minimum target iOS 8
Can you figure out what is going wrong? As you can see i even added the portraits for the iPhone to see if anything is loaded as launchimage - but nada..

Did you try to select the iOS8.0 and later box for iPhone Portrait?

Solved it by going the old proven way:
Provide all the above assets for apps in landscape only
Dont use AssetCatalog

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?

how to get a normal keypad on iphone 6 and 6 plus

I'm building an app that works fine on iphone 5. When I look at it on a iphone 6 or 6 plus however, I see that the keypad is stretched, basically zoomed in. I'm using autolayout and storyboards.
What do I need to set in order to make the keyboard scale to a normal size?
You need to ensure that the app is optimized to run in the native resolution of these devices, rather than the zoomed compatibility mode. This can be done by setting a properly-sized launch image for the iPhone 6/6+.
These launch images will be labeled Retina HD 4.7 and Retina HD 5.5 in your launch images file, respectively. If you do not see these options available in your launch image assets, create a new launch image set and they should be there.

Launch Image working on iPhone 4 & 5 but not on iPhone 6 and 6 plus in Objective-C

I've set launch images by going in Asset Catalog for iPhone 4,5, 6 and 6 plus. I know the dimensions for images and I've used them correctly. I've named the launch image for iPhone 6 and 6+, Default-667h#2x.png and Default-736h#3x.png respectively. But still the launch images that I've set for iPhone 6 and 6 plus are not working where as the images for iPhone 4 & 5 are showing up. Please help. Thanks in advance.
Apple removed LaunchImage from iOS 8. Now if you want to show splash screen you need to use LaunchScreen.xib which now is creating with new project or another xib or storyboard that can be selected in "App Icons and Launch Images" section in "General" tab of your project settings.
From developer docs: "On iOS 8, the launch screen file will be used, and on iOS 7, the launch images will be used."
Docs for launch screen here.
I got it working by emptying the text box in front of Launch Screen File.
Though it will work if I add the image on LaunchScreen.xib, but for those of you who don't want that xib they need to left the Launch Screen File nil.

ios universal app only show 3.5 inches screen instead of 4 inches screen

I have an app designed for universal devices.And I have all of the different dimensions of the launch images and app icons ready.
It was fine running on iphone 4, iphone 5 with iOS 7 devices and iphone 5 with ios 6.1
then, i found it was running not full screen (3.5 instead of 4 inches ) on the new ipod 5th generation with latest ios 7.
i update the project to use Images.xcassets then the problems solved.the app was running full screen.
However, it started only runs 3.5 inches (not full screen app) on iphone 5 with ios 6.1
[[UIScreen mainScreen] bounds].size.height
return 480 instead of 568
Any ideas ?
When using Xcode assets catalog, you need to be careful when setting up launch images. It is possible to have different launch images for iOS6 and iOS7. If you wish to use the same ones, make sure to link them correctly for each OS version.
i found you have to have 2 different names for the retina 4-inch launch image (640x1136). how annoying.
This issues was solved for me when I deleted the LaunchImage asset which contained 8 sets of images.
Which I then replaced with a new LaunchImage (using two finger click) containing only 3 image sets.

Storyboard designed for iOS7 not going fullscreen on iOS 6 on 4 inch device

I am designing my iPhone app using storyboard and auto-layout. Everything works fine in iOS 7 on both 4 inches and 3,5 inches device.
On iOS 6.1 the app runs like is always on 3,5 inches device, even if is running on a 4 inches device, the black bars on top and bottom appears.
screenshot on the simulator:
Anyone with the same issue? how can i solve this problem?
I think are you Forget to adding splash screen Default-568h#2x.png in to you Project please check Property and set required splash-screen Default-568h#2x.png (640 × 1136 pixels)
Ones you add this image in to you working Project, Remove old Build from device or Simulatore, clear Project and re build and check Hope you issue will solve.
Yes, i'm agree with Nitin. In XCode 5 just create e new LaunchImage Set and add the standard, retina and R4 image in both iOS version (5,6 and 7).
Remember to set this set as default in your project info.
A quick fix is to replace Launch Images with your Storyboard.
In Xcode, go to Target > General, and then:

Resources