1
- (void)viewDidLoad {

SystemSoundID ReelStopSound;
NSString *soundPath = [[NSBundle mainBundle] pathForResource:@"spin" ofType:@"mp3" ];
CFURLRef soundURL = (CFURLRef)[NSURL fileURLWithPath:soundPath];
AudioServicesCreateSystemSoundID(soundURL, &ReelStopSound);
AudioServicesPlaySystemSound(ReelStopSound);    
[super viewDidLoad];
}

when i run this app in simulator it plays the spin.mp3 but in the my iPad its not!!

Yadnesh
  • 1,307
  • 3
  • 17
  • 36

0 Answers0