iOS Question How to use the Vibrate in B4I 2.0

winjiadh

Active Member
Licensed User
Longtime User
in the B4i 2.0, I used the vibrate like this
1.In the Sub Process_Globals
dim phone1 as phone
dim btn as button
2.In the Sub btn_Click
phone1.Vibrate(50)

when I run the app in the iphone5, I click the btn, the phone will not vibrate
what's wrong with this methods
who can told me, thanks
 

winjiadh

Active Member
Licensed User
Longtime User
frist thanks for you fast reply
yes, I set the iphone not vibrate in setting-->voive-->no vibrate
And Howto control the phone vibrate times?
like this "phone1.Vibrate(50)"
 
Last edited:
Upvote 0
Top