Launch settings iphone5 - iphone

Ok, I believe I have a problem with the launch setting not fitting iPhone 5. This is not a splash issue because the status bar is about an inch away from the top . This is what happens as soon as the splash screen comes on. How do I optimize it to launch with iPhone 5 support?

Hey you can do as folllows, I hope you might get some help.
Set a 4-inch launch image for your app. for that you have to get 1136px screen height ..otherwies you will get black screen

Related

Screen is not full after deleting LaunchScreen from Info

I do not need in LaunchScreen, so I have deleted this line from myApp->Info in XCode. But after deleting those line my screen became:
It's not full screen. Do you see black parts? How can I fix it?
Add launch images for all screen sizes, that's how iOS determines supported device sizes.
Launch images are a good idea to give your user initial feedback instead of presenting a black screen - but if that's what you want, make a set of black images.
Simply Add Default-568h#2x.png splash screen & than try again.
It will work.
Note:
There might be a question raised why we need to add a splash to resolve this issue ?
Answer is because UIView takes size on basis of Splash screen you have added.
Edit:
Default-568#2x.png is the Splash screen for App. That will appear when we launch application.
Its default name for the iPhone 5 splash screen (because iPhone 5 screen resolution is 320x568 so Apple preferred it)
Yes you need to add splash screens for all devices including iPhone 4, 5, 6, 6+ & iPad.
To add splash screens for All devices:
Go to Targets -> General -> App Icons & Launch Images -> Click arrow on Launch Image Source.
See Image:
Than you will get this screen where you can add all Splash screens:

Black bars showing when running app on iOS 7 (4 inch retina display)

We have an iPod app built with base SDK as 5.1.
App has a tabBarController with three tabs and each tab has a UIViewController to load a different view.
The app works fine for iOS 6.1 and iOS 7 (3.5 inch display) simulator and device but when we run the app on
iOS 7 (4 inch display simulator) or device we are getting black bars at the top and bottom of the view screen in all three tabs.
If anyone can suggest reason for this or some feasible solution to this problem, it would be really helpful for us.
Thanks
First thing is that you must add the required default image for 4 inch screen display. Check Properly in you project have image with name Default-568h#2x.png (640 × 1136 pixels)
This Default-568h#2x.png is Necessary for Support app in 4 inch Screen display
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.
Edit:-
After fix the black Bar issue you can check the device like my answer Give here check this:-
Detect device type
you have two choice if you can't use AutoLayout
First
Create two xib with same class one for 3.5 inch screen and one for 4 inch screen set using macro with checking which screen appear.
Second
Set Self.view frame using macro with checking which screen appear.
There are also other methods you can use for set self.view frame as using window frame or UIScreen
My problem was I accidentally deleted the value found here:
I added back LaunchScreen, and made sure there was a LaunchScreen.xib. Maybe it will help some others.
Ive had the same problem - black bars at the top and bottom. It was simply solved by setting the drop down in "App Icons and Launch Images" to Main_iPhone:
App Icons and Launch Images Screen Shot
I was facing same problem . I just added launch image and it worked for me.
XCode->Click on Project File -> Select Target-> App Icons and Launch Images -> Add launch image source
This worked!
Pay attention to Step#5 and Step#6 below:
1.In xcode, Click on the Project file in Project Navigator
2.Click General tab
3.Type "Main_iPhone" in the Launch Screen File field
4.Save
5.Remove the app from device or simulator
6.Then in Xcode go to Product Menu and then select Clean
7.Build again

Changing status bar position to correct position

see below image, status bar showing at some below level on simulator. it works fine on device.
why this happenes? anyone has any idea? because of this i can't guess correct positions of other controls.
why this happens? and any way to correct this?
already i have added retina support images. generally it shows blank space on below area if retina images are not available . but i am seeing this first time that status bar is showing at some below level
click on warning and select Add
you have to support iPhone5 resolution.
add a splash screen naming Default-568h.png of resolution 1136x640.
If you run this on iPhones having 3.5 inch screen it will be working fine.

App runs on iphone 5 like iphone 4

I have finally done to build Augmented Reality app.
The app works great for iphone 4 screen size Width :480 Height :320.
During the development I have also test the simulator to see launch goes well for 4 inch display (iphone 5), and it did go well the splash screen show was the 4 inch png named : Default-568h#2x.png and the screen shows a white background fully (like it should).
When I launch the app on a real iphone 5 device, the 3.5 inch splash screen loaded and the app load like it loads on iphone 4. Everything in the middle and I get a little black equal Margins from the side, the cable is original and this is the Weirdest thing ever happened to me.
UPDATE : i have also tried to add this code on the simulator and to the real device :
CGRect bounds = [[UIScreen mainScreen]bounds];
NSLog(#"%#",NSStringFromCGRect(bounds));
the simulator prints iphone 5 screen size, the real device prints iphone 4 size.
Any help please
Make sure you have all three Launch images set up correctly. :)
Make sure the image has been added to the target.
=> If you select your image file in the Project Navigator (left pane) the Utilities pane (right pane) should have a checkmark under 'Target Membership' next to your target.
I think that your views need to resize. You may need to include some code that detects what device the person is using and resizes the view. Just a suggestion.

3.5" ios app screens get messed up on 4" screen

My first app got accepted and uploaded onto the app store today :)
I download it onto my 4s (iphone with a 3.5 inch screen size) it is PERFECT!!
But when i download the app onto my iphone 5 (iphone with 4 inch screen size) the pictures are all out of place and moved around on the screen (as if the images are being stretched. How can i fix this? I dont have time right now to redo all of the art work. I just want the black bars to be on the top and bottom. How can i achieve this? Thanks a bunch guys!
Remove the Retina (4-inch) launch image from the project navigator (although it would be better to provide an 4-inch version of your app :p ).