title: how to play caf file in iphone device?
body: <p>i have used following code to play caf sound.but it works in simulator ,not in device...anyone can give solution?</p>
  
  <pre><code> NSString *pathe=[[NSBundle mainBundle] pathForResource:@"Watermovement3" ofType:@"caf"];
  CFURLRef url =(CFURLRef)[NSURL fileURLWithPath:pathe];
  AudioServicesCreateSystemSoundID(url,&amp;okk);
  AudioServicesPlaySystemSound(okk);
  </code></pre>