Hi I am trying to add a subview to my iphone window and i have written the following code for that. Problem is that when the splash view or main menu view appears on the screen, it goes behind status bar. I mean the view starts from behind the status bar. Also both view overlap when the main menu view is show after the splash view. Can anyone please help? Thanks
- (void)applicationDidFinishLaunching:(UIApplication *)application {
[window addSubView: [[Resources getResources] getSplashView]];
[vindow makeKeyAndVisible];
[self performSelector:@selector(displayMainMenuView) withObject:nil afterDelay:2.0];
}
-(void) displayMainMenuView {
[window addSubView: [[Resources getResources] getMainMenuView]];`
}