首页
Python
Java
PHP
IOS
NodeJS
JavaScript
HTML5
小程序
AI
UIImpactFeedbackStyle
全部标签
IOS 手机振动 UIImpactFeedbackStyle
Ios手机振动+(void)deviceVibrate:(int)vibrateType{ NSLog(@"vibrateType=%d",vibrateType); UIImpactFeedbackStylefStyle=UIImpactFeedbackStyleLight; if(vibrateType==1) { //--0.5秒长时振动-- AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
UIImpactFeedbackStyle
振动
vibrateType
61
fStyle
macos
objective-c
ios
xcode
Home
Powered By JJZJJ.COM
页面耗时:0.0581s