iOS 7 app doesn't fill the whole screen in Xcode 6 simulator - ios

iOS 7 app doesn't fill the whole screen in Xcode 6 simulator. But when i set the app to target iOS 8, it works fine. Here are two screen captures:
This is for iOS 7
This is for iOS 8
Can someone help me?

You can try these solutions:
Try to create launch images(640*960 #2x.png & 640*1136 -568h#2x.png) and set them into project properties for "Launche images source".
or
Create .xib file with active autolayout and set this file as "launch screen file".

Related

In iOS 9 splash screen shows black and multi colours?

while open the old version project in to ios 9 the splash screen was shows in black screen and it displays the images in multi colors,please anyone help me for find the issue?
There is a change in Xcode7 iOS 9 onwards. They have modified Launchscreen(Black screen we will get).If you change deployment target means you can see the previous launch screen.
Only empty view controller is present so we have make changes on it.
I have solved the problem.
I am using Xcode 7 and my iPhone 6 is upgraded to IOS9. I was using Launchscreen.storyboard and was getting Black LaunchScreen.
I solved it by following steps:
1. I removed Launch screen interface file base name from info.plist
2. Under General Tab,in Launch ScreenImage use assets Catalogs, I set
images for iOS 8,iOS 7 and iOS 6 iPhone portrait.
My app is now running successfully with LaunchScreen.
I had the black launch screen issue with the new iOS 9 project I built using Unity (5.2). To fix that I added the image that I want to show as the launch image to the LaunchScreen-iPad.xib file's Image view.

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.

Do I have to have LaunchScreen.xib for iOS 8 launch images?

I'm using Xcode 6.1.
In Launch Image sources = LaunchImage and in Launch Screen File = Main_iPhone. In Images.xcassets under Launch Image Name = LaunchImage.
I currently have a Retina HD 5.5 and Retina HD4.7 Launch Image in appropriate sizes for iOS 8. Yet for all iOS 8 devices whether on iPhone 4s, iPhone5's, or iPhone 6's, iOS 8 doesn't load Launch Image. I don't use xib, only storyboards. However, do I have to create an xib file called LaunchScreen.xib and put my iOS 8 Launch Images in that file for iOS 8 to launch the images?
So i'd put just 2 iOS 8 images in there and xib has no problem with me using storyboards to build game? Is that the only way for a Launch Image to work for iOS 8 in Xcode 6.1?
edit:
So I just made a LaunchScreen.xib file. In that file I put my Retina HD 4.7 inch launch image for the 4.7 inch screen. In Launch Screen File I put as LaunchScreen.xib I still get the same result. iOS 7 launch images load but iOS 8 launch images don't load.
I had the same problem but had marked the xib as a launch screen, but just needed to select it as the launch xib in the build settings, general tab.
Have you marked the view in the xib as "Use as Launch Screen" in the File Inspector?

iPhone 5 storyboard still shows padding when running on iPhone 5

I have made a new app with storyboard, where the storyboard is currently just for iPhone 5. But the issue is, when I run this on iPhone 5 device/simulator, it shows padding at the top and bottom of the screen as if an iPhone 4 application is being run. Please see the screenshot I have attached. And help where did I go wrong.
EDIT : Actually its still not working. In iOS 8 its coming fullscreen but in iOS 7 for some reason the black padding is coming. PLease hellpppp.
EDIT - I got the issue.Apparently, in xcode 6, when Launchscreen.xib is given, it does not work for ios 7 and it works perfectly normal for ios8.
Previous answer - The issue was, in Xcode 6.0, the new project generates a LaunchScreen.xib file, but apparently you manually have to go to the General settings for the target and select the launch screen File options from the drop down. This solves the issues. :)

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