Game Development Reference
In-Depth Information
[navController presentModalViewController:vc animated:YES];
}
-(void) dismissModalViewController
{
UINavigationController* navController = [self appNavigationController];
[navController dismissModalViewControllerAnimated:YES];
}
The GKLeaderboardViewController will load the scores it needs automatically
and present you with a view like the one in Figure 14-5 .
Figure 14-5 . The Game Kit leaderboard view
The leaderboard view—and all other Game Kit views, for that matter—is presented in
Portrait mode by default, even if your app uses only landscape orientations. This is
 
 
Search Nedrilad ::




Custom Search