This is what I did for my first app game.
Create a SuperView UIView and have your app delegate load that first.
From that SuperView have it initially load your splash screen (UIView sub class).
Now when the user clicks on the screen, call the
Code:
[self removeFromSuperview]
in that splash screen view. That will in turn call the SuperView's
Code:
willRemoveSubview()
.
Implement this function in your SuperView:
Code:
- (void)willRemoveSubview:(UIView *)subview;
Its called everytime the subview is removed.
Once in that function,
Code:
if ( [subview isMemberOfClass: [SplashScreen class]] == TRUE) {
Determine which class is being removed. By knowing that it is the SplashScreen, you can create the main menu UIView there and add it to the SuperView.
So basically, if you have a SuperView which will handle the transitions between different parts of the game, ie, splash, main menu, score board, game board, etc..
This probably isn't the "correct" Apple way to do it, but it works well, and it sounds like it will help you
