Develop

[ios] 아이폰에서 진동(Vibrate) 기능 추가하기

by hooni posted Apr 18, 2014
?

Shortcut

PrevPrev Article

NextNext Article

ESCClose

Larger Font Smaller Font Up Down Go comment Print

아래와 같이 간단히..

#import <AudioToolbox/AudioToolbox.h>

. . .

+(void)vibrate
{	
    AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);	
}


[출처] http://suigui.com/3030504