有没有什么方法可以在不播放声音的情况下振动iphone? 到目前为止,我只能使用声音振动。我试过跟随,但都发出声音振动
SystemSound.Vibrate.PlayAlertSound ();
SystemSound.Vibrate.PlaySystemSound();
请告知
答案 0 :(得分:3)
答案 1 :(得分:0)
这应该有效:
#import <AudioToolbox/AudioToolbox.h>
//Vibrate iphone
AudioServicesPlaySystemSound (kSystemSoundID_Vibrate);