iOS App showing blank screen after startup - ios

I have developed an iOS app for which I had set the target to iOS 5. But then I wanted to set the target to 4.3, so I changed it in Project>Summary>Deployment Target. The code starts up and works fine in iOS 5. But when I try to run it on a device with iOS 4.3, it just shows the startup image and then a black screen. It doesn't even run the code. Can anyone tell me what might be happening?

Yes, you're right, storyboards are iOS5.0 and later

try this , see the below attached Image :)

Related

splash screen logo image not shown using xcode 10 in swift

I am updating my code Xcode 9.2 to latest Xcode 10. all things working properly but splash screen logo image not shown when apps running . is there any solution for it.
I got solution for my problem by restarting testing device.
See previous answers here: iOS Keeping old launch screen and app icon after update
You don't specify in the question if you're running on a real device or simulator, but if simulator make sure you do 'Erase All Content And Settings' from the 'Hardware' menu. The simulator is not an emulator and doesn't always behave the same as a real device.

Xcode 8.1 iPad simulator draws screen twice

I'm trying to bring my App current to iOS 10.1, using Xcode 8.1. My App is targeted to both iPhone and iPad. All the simulators for the iPhones work o.k. However all the iPad simulators draw a screen that is bad, and after a second, the good screen appears.
The bad screen looks like:
After about a second the actual screen appears. It looks like:
This did not happen in earlier versions of Xcode, and I sure would appreciate some suggestions on why Xcode 8.1 is doing this.
Charles
The problem is that you are still using a launch screen image file. Those no longer work. The initial screen nowadays is your LaunchScreen.xib or LaunchScreen.storyboard. You need to have one and configure it so that it matches your actual initial interface.

iOS simulator change devices not working

So I'm working through the BNR iOS objective c book, and I want to run a project on the iPad simulator. according to the book, I change the deployment device in the general settings for the project target as "universal," which I did.
However when I run and switch to any iPad on the simulator I get drawn back to the main method of my project. The iPad does appear after a delay, but without the app I built. I've set all the views in my xibs to "inferred" but I still can't run my project on iPad.
Any help would be appreciated, thanks.
This is probably because the app is crashing. it's possible if you created the app without setting it to universal it is missing a storyboard for iPad which would cause a crash and take you to that area. You should look at the console logs and see what is happening. There should be good information in there as to what is missing or why it's crashing right away.

App is running wrong on iOS 7.1(screen size)

When I run the app on iOS 7.1, I have a problem with screen size. On iOS 7.1 it is smaller than it should be(between black spaces). Where to move to find the error? Thanks.
Here is the screenshots:
iOS 7.1:
iOS 9.1:
Assuming you have setup a launch screen storyboard, you need to realize that it will only be used on devices with iOS 8.0 or later. For older versions of iOS, you still need to provide all of the appropriate launch images.

Xcode 6.1 issues while opening the simulator

I have recently started working on IOS app development and was encountering an issue. I have downloaded XCode 6.1.1 and my target SDK is IOS 8.1.
On building and running my application I dont have the mobile/Iphone interface coming up in which I can check my layout how the app will be presented once it is deployed on Iphone. All I get is a rectangular box which is definitely not resizable and I am unable to check my app.
On this rectangular box which is definitely not the one I am expecting, I can see my labels and buttons in a crap state.
I tried changing the SDK version to 7.1, changed the build type from debug to release, change the deployment target to 7.1 also, using Iphone 5S,7.1 simulator also but the issue seems non-resolved.
It looks like you're on 100% zoom, so you should be able to see the full phone by zooming out. In the iOS simulator, in the top bar go to Window->Scale and select 50% or 75%. If the zoom level is the problem, that should fix it. Hope it helps :)

Resources