This question already has an answer here:
Is it allowed to set the splash screen image by code.
Since I need to change it many times ?
This question already has an answer here:
Is it allowed to set the splash screen image by code.
Since I need to change it many times ?
Neah, You can't. Sorry!!!
The default image for an iphone app must be a fixed image file in your bundle. You cannot change it dynamically.
Though you can add animation to make it creative.
When launch screen is being displayed your app will be in loading state.
Even the
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
will not be completely executed while the launch screen is displayed.So it's clear that, you don't have any access to your app and so at this point you can't execute any code.
You can only load single image as Splash Screen when App Launches..
But if you want to launch any image programatically..Before App loads home screen like splash screen..you can use as below at
didFinishLaunchingWithOptions delegate method of AppDelegate..
Above code is not splash screen. But it loads before home screen loads.
No, you cannot change Splash screen, app icon or app name programmatically.
They all stay static can't be changed.
But you can create your on custom splash using
UIImageView
and can change it programmatically.You can't.
You have to create your own splash screen displayed right after the default iOS one of your application.