让手机振动一下
#import < AudioToolbox/AudioToolbox.h> #import < UIKit/UIKit.h> - (void)vibrate { AudioServicesPlaySystemSound(kSystemSoundID_Vibrate); }