How to play Sound File In Silent Mode iPhone sdk ?
I m trying to play sound file in silent mode but result is zero
i have tried this code
SystemSoundID soundID;
AudioServicesCreateSystemSoundID((CFURLRef)[NSURL fileURLWithPath:fullpath],&soundID);
AudioServicesPlaySystemSound (soundID);
when i import in header file
#import <AudioToolbox/AudioToolbox.h>
create Error like
error: expected identifier before '\x786f7073'
Asnwer As Soon As Possible.....
Thanks In advance
Regard
StupidiPhoneDeveloper