Created
May 25, 2012 21:07
-
-
Save jacksonfdam/2790557 to your computer and use it in GitHub Desktop.
Executar som
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate); | |
NSString *soundPath = [[NSBundle mainBundle] pathForResource:@"Internet-Jen-1117" ofType:@"wav"]; | |
SystemSoundID soundID; | |
AudioServicesCreateSystemSoundID((CFURLRef)[NSURL fileURLWithPath: soundPath], &soundID); | |
AudioServicesPlaySystemSound (soundID); | |
[soundPath release]; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment