标签:
//扫描震动
- (void)playBeep
{
? ? SystemSoundID soundID;
? ? AudioServicesCreateSystemSoundID((__bridgeCFURLRef)[NSURLfileURLWithPath:[[NSBundlemainBundle] pathForResource:@"beep"ofType:@"wav"]], &soundID);
? ? AudioServicesPlaySystemSound(soundID);
?? ?
? ? // Vibrate
? ? AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
}
标签:
原文地址:http://www.cnblogs.com/allen123/p/4497125.html