J'ai utilisé le code suivant pour jouer au son caf. Mais cela fonctionne dans le simulateur, pas dans l'appareil ... tout le monde peut donner une solution?comment jouer au fichier caf dans l'appareil iphone?
NSString *pathe=[[NSBundle mainBundle] pathForResource:@"Watermovement3" ofType:@"caf"];
CFURLRef url =(CFURLRef)[NSURL fileURLWithPath:pathe];
AudioServicesCreateSystemSoundID(url,&okk);
AudioServicesPlaySystemSound(okk);
j'ai copié, je suis à droite –