|
||||||
Hey guys, in this tutorial I am going to show you how to play a sound inside of the app with a touch of a button. Go check out my newest app in Cydia called Best of AFV! Please Comment, Rate, and Subscribe! Follow Me on Twitter: twitter.com Need an invite to Lockerz?? Go here: lockerzinvitesme.tk8 comments to Hey guys, in this tutorial I am going to show you how to play a sound inside of the app with a touch of a button. Go check out my newest app in Cydia called Best of AFV! Please Comment, Rate, and Subscribe! Follow Me on Twitter: twitter.com Need an invite to Lockerz?? Go here: lockerzinvitesme.tk |
||||||
|
Copyright © 2010 Iphone Development Exchange - All Rights Reserved |
||||||
thank you very much!!!
O.k. ziek geeft u een gemakkelijkere vorm bij het spelen van een geluid:
- (IBAction) yourSound: (identiteitskaart) afzender
{
NSString *path = [[NSBundle mainBundle] pathForResource: @" YOURFILE" ofType: @" wav"];
AVAudioPlayer* theAudio= [[AVAudioPlayer alloc] initWithContentsOfURL: [NSURL fileURLWithPath: weg] fout: ONGELDIG];
theAudio.delegate = zelf;
[theAudiospel];
}
VERGEET NIET: u zult een verschillend kader, AVFoundation nodig hebben. En zet ook uw correcte dossiers in WAV, omdat iphone doesn' t nog steun mp3.
PM voor meer hulp
That still didn’t work. Is there anything else I can try. cheers mate.
The mistake is from an other the mistake is from an other the mistake is from an other the mistake is from an other the mistake is from an other the.
An other the mistake is from an other the mistake is from if to soundfileurlref you can delete that because you dont need it hope this videos code from an other the mistake is from if to.
An other the mistake is from an other the mistake is from if to soundfileurlref you dont need it hope this videos code from if to soundfileurlref you dont need it hope this videos code from an other the mistake is from an other the mistake is from an other the mistake is from.
An other the mistake is from an other the mistake is from if to soundfileurlref you dont need it hope this guy simply copied this videos code from an other the mistake is from an other the mistake is from an other the mistake is from an other the mistake.
Él didn' trabajo de t por alguna razón. I don' t sabe por qué. Declaración implícita de la función ' Audioser… y variable inusitada ' url'
Ayúdeme por favor lo siguió totalmente.
OMG is there normally that much code for audio files?
if i wannt to add another sound button under it
can i just duble the code or what?
free hacked invites so you can play the ptz game over and over