Identical splash screen after loading and before webview - ios

So, i have a webview in which i load an ad everytime the app starts, this is the first viewController in the main navigation controller and its the one that launches the home viewController after the ad, the problem is, after the splash screen and before the ad is finish loading, the webview is hidden at first and when loaded then is visible, beneath the webview is an uiimage with constraints to fill the entire view. the image is the same as the splash screen (portrait or landscape), but when the transition from the splash intro to the first viewcontroller begin, the imageview looks offset in comparison to the ios splash image, so im guessing it has to do with the status bar at the top? i have tried many combination of constrains and sizes and i cant seem to find a way to achieve a non-jumpy transition from the splash to my first uiimageview filling the whole view.
this is what im trying to achieve.
https://dl.dropboxusercontent.com/u/33305929/intro.png
the whole thing is already done the only problem is the jumpy not perfect transition from the intro splash screen to my uiimageview in the first viewcontroller, any ideas? has anybody faced the same issue, any suggestion is much appreciated. thanks for your time.
note: the uiimageview has constraints for top, bottom, left and right of the layout. i also tried with no constraints with no luck.

So the problem was the resolution of the image that ios was using in the splash screen.
from ipad2 and ipad mini, it should be the normal (768,1024) version of the splash, for ipad Air and retina displays the image for splash is the #2X version.

Related

Wrong screen showing at start of app and launch screen or initial screen showing with delay

There is a weird issue with an iOS app. Initially there were no modifications on the Launch screen and the app started just with a white screen. Now the launch screen has been modified with black colour and an UIImageView in the centre, showing a png image. After that there is the Initial Screen that shows an animation for 1.5 seconds and then another screen is shown. Let's call it screen X. Before the modifications to the Launch screen Screen X was the initial screen of the application.
The issue is the following. On start of the application often instead of showing the Launch Screen first, Screen X is shown. Then after about a second the Initial Screen shows with the animation and then Screen X again. We tried deleting the app and the issue disappeared for a while, then reappeared. Is this some kind of caching? What could be happening?
If the proper Launch Screen isn't being displayed, and you've already uninstalled the app, restarting the device usually fixes it.

iOS Wierd Splash Screen Bug

I'm trying to get my app's splash screen to be displayed correctly instead of a black screen for a few seconds before the splash screen. I have made 3 implementations of the splash screen; issues with each are listed below:
XIB: This only displays the background color of the splash screen for a few seconds and then the rest of the splash is loaded.
XIB + Asset Catalog: For iPhone 5 running iOS 8: if the phone is currently displaying the blue navigation bar and the app is opened from a url while in the background, a black screen will be displayed before the splash.
Storyboard: On all models: this displays a black splash screen before the actual one loads.
Is this an iOS bug or am I implementing something wrong?
You might want to check the logic that is executed when the application is launched - application:didFinishLaunchingWithOptions:. If it takes significant time to execute the code in it, then this might be the problem. It is always recommended to return fast and execute any additional logic on a later moment.
It's so quite simple! I had such bug and I solved it.
You should enable "Enable Initial View Controller" to see splash screen

Black Screen at the start of iOS swift app

i have a problem. when i launch my app there is a black screen viewed for a seconds then the launch screen appeared.
my splash screen isn’t the default one. i used view controller because my splash had an animation.
i searched for a solution, and i get this on:
Black screen before my splash screen loads iphone
but it didn’t worked
any help please?
thanks
Have you selected your Launch Screen in your target's App Icons and Launch Images ?
Edit: If you don't use any launch (splash) screen or image then, a black screen is the default behaviour before loading your view controller.
I faced same issue but my solution is different,
I've made an extension of UINavigationController to make UINavigationBar clear.
So,the problem is , I was doing some R&D on that code and unknowingly put a method
open override func loadView() {
super.loadView()
}
and from that time, I started facing this issue.
My advice, please double check that you haven't don't something like that.
I had a custom splash screen to launch. But the Launch Screen file was pointed to Default LaunchScreen.storyboard. Replaced that with my original custom splash, the issue fixed

Splash screen runs then flashes the wrong random image before application starts

Not sure how to word this problem, but basically it lodes the flash screen for half a second (like I want - look at first image).
Then it flashes the splash screen upside down at the bottom of the screen just before loading the app. (look at second image).
How can I get rid of it displaying the second upside down image?
I am using Xcode 4.6.3 with Cordova 2.9.0.
I want to get rid of the image below from appearing:
Found a solution:
https://www.youtube.com/watch?v=7Xp9nT-b9dA
I needed the Initial interface orientation = Landscape (left home button) under the project info section.
I think it must have been loading the image for portrait then rotated it to try and make it match the landscape orientation therefore rotating the image.

ipad_Landscape_StartImage_problem

My application supports all orientation, but i have a default screen placed at the start while i fetch the data from web-service with activity indicator, it shows fine on portrait view(with default screen followed by the image i have added as sub view on the window) but when i start the app in Landscape mode the Default splash screen appears but the image i have added on the window does not rotate, it is added as if its in portrait. Have tried all solutions like making the window and image-view auto-flexible but its not working
Please Help
Thanks in advance...
I don't think so rotation was possible when we add the image on the window, so i decided to add it on the view and adjusted the size of the image as that of the splash screen so that there is no stretching of images horizontally and vertically. This i think is the simplest and easiest way to do it.

Resources