Instead of sending messages yourself (this is the application delegate), you send them to your view controller.
, "gameViewController" ( ):
- (void)applicationWillResignActive:(UIApplication *)application {
[self.gameViewController pauseGame];
}
- (void)applicationDidBecomeActive:(UIApplication *)application {
[self.gameViewController resumeGame];
}