I know this question has been asked and answered many times but i'm not sure where to put the code at the right place.
- (void) applicationDidFinishLaunching:(UIApplication*)application
{
[NSThread sleepForTimeInterval:5.0];
}
I know this question has been asked and answered many times but i'm not sure where to put the code at the right place.
- (void) applicationDidFinishLaunching:(UIApplication*)application
{
[NSThread sleepForTimeInterval:5.0];
}
You can create a UIView containing your splash screen content and display it in the initial view controller. When you finish processing whatever you want to process, just hide this UIView or remove it totally.
You have to put
[NSThread sleepForTimeInterval:5.0]
in
applicationDidFinishLaunching
method of appDelegate.swift
file