Done with only one line of code:
1 |
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate); |
You need to import the AudioToolbox Framework and import it in your header file for this to work.
Done with only one line of code:
1 |
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate); |
You need to import the AudioToolbox Framework and import it in your header file for this to work.