Hi, I want to use the SimpleAudioEngine to play background music in my game, i wrote my code like this:
[[SimpleAudioEngine sharedEngine] playBackgroundMusic:@"bg"];
when i test, there is an error says : .objc_class_name_SimpleAudioEngine, referenced from:
it seems i did not include the framework in the right way. besides, i see in the api that it needs AVFoundation.framework, but i can't find it.
can somebody tell me how to do this? where can i find some tutorials for this SimpleAudioEngine?
thanks a lot