I have a problem that in my app i don't want to show any type of screen and when application install on device but after 2 minutes i want to show a screen. I am using following code for this
-(void)applicationDidFinishLaunching:(UIApplication *)application{
// after 30 seconds it will show a view
[self performSelector:@selector(show_view) withObject:nil afterDelay:30];
[self.window makeKeyAndVisible];
}
But when i run app on device then it show a black screen for a moment and then show a white screen. And after 30 second of white screen it add new view on current window.
But i want that when it install on device then it will start a thread in background immediately and direct show last view. Don't show any other view or screen.
How to apply that in application?
Thanks in advance...