Hi guys,
I'm working on the options of my game, but when I try to pause the music the app crashes. I also get the error that SimpleAudioEngine may not respond to -pauseBackgroundMusic. Here's my code:
-(id)init
{
if((self = [super init])) {
...
[[[SimpleAudioEngine sharedEngine] playBackgroundMusic:@"BackgroundMusic.caf"];
}
return self;
}
-(void)musicPress:(id)sender
{
[[SimpleAudioEngine sharedEngine] pauseBackgroundMusic:@"BackgroundMusic.caf"];
}
Thanks for your help!