首先要导入 #import <AudioToolbox/AudioToolbox.h>一行代码搞定:AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);