我想通过代码振动 iOS 设备。
我使用了以下方法。但我无法做到这一点。
- 1) - AudioServicesPlayAlertSound(kSystemSoundID_Vibrate);
- 2) - AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
当我在 ipod 或 ipad 上运行我的游戏时。
我想通过代码振动 iOS 设备。
我使用了以下方法。但我无法做到这一点。
1)AudioServicesPlayAlertSound(kSystemSoundID_Vibrate);
2)AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
当我在 ipod 或 ipad 上运行我的游戏时。