sunstan sunstan - 1 year ago 234
Swift Question

how make vibrate twice my iphone when i click on a button? iOS-swift-xCode

I search to make vibrate twice my iphone when I click on a button (like a sms alert vibration)



I obtain just one normal vibration but I want two shorts :/.

Someone can help me?

Answer Source
#import <AudioToolbox/AudioServices.h>


This is the swift function...See this article for detailed description.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download