iPhone Auto hide - non modal message
I want to show a window with no buttons after every game is finished, to inform the user about the number of points he has earned after the开发者_高级运维 game. I want it to look like the GameCenter's welcome back window. Transparent, non modal, with no buttons. What is the best way to do that? Thanks
Make a view called scoreView or something like that, set the transparency/alpha to the desired value, put all your score labels in, and then add that to the game's view. Then when hiding/showing, set the view's hidden property. EX:
- (void)scoreScreenTimerClicked {
scoreView.hidden = YES;
}
精彩评论