-1

I want to vibrate iOS device through code.

I have used the following methods. But I am not being able to do that.

  • 1) AudioServicesPlayAlertSound(kSystemSoundID_Vibrate);

  • 2) AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);

When I run my game on ipod or ipad.

halfer
  • 19,824
  • 17
  • 99
  • 186
Waqas
  • 959
  • 1
  • 8
  • 17

1 Answers1

0

iPads doesn't support physical vibration. You can use these codes only in case of iPhones and newer versions of iPod.

swathy krishnan
  • 916
  • 9
  • 22