Reputation: 7035
Is there any way i can vibrate iphone without playing a sound? So far i have been able to vibrate using sound only. I have tried following but both play sound with vibration
SystemSound.Vibrate.PlayAlertSound ();
SystemSound.Vibrate.PlaySystemSound();
Please advise
Upvotes: 3
Views: 1008
Reputation: 770
From monotouch-samples this should work:
SystemSound.Vibrate.PlaySystemSound();
Maybe you changed your iPhone Vibration Sound Settings
Upvotes: 4
Reputation: 408
This should work:
#import <AudioToolbox/AudioToolbox.h>
//Vibrate iphone
AudioServicesPlaySystemSound (kSystemSoundID_Vibrate);
Upvotes: 0