In games, I see there are some kind of popup view will appear (on which have buttons for pausing, saving and quitting) if there is an interruption during game play in iphone.
1) How to create it and invoke such in code?
I have been searching for weeks on web, the documentation, forum, etc and still couldn't find the solution. All I can find are only something close - Tutorials show how to implement a 2nd view which is invoked by pressing a button on main view but that is not what I need.
2) What does that kind of view is called? For sure I know it is not called splash, opening screen. Is it called "interrupt screen, pausing screen or setting screen?
3) The following method can only be implemented in UIViewController class to bring up the 2nd view using a button (that is not what I want) and my game is using customized UIView and it can't invoke the method.
-(void)goToSecondView{
[self presentModalViewController:secondViewController animated:YES];
}
4) I got an advice using @protocol but it is a bit advanced for me to understand. Is there some easy way to do that?