0

I am building an iOS app that will vibrate your message in morse code. I am having a really hard time setting an exact vibration time. International Morse code requires 250ms vibrations, and also different paused lengths, and I cant seem to find a way to set an exact length for the vibration.

I have already tried

AudioServicesPlaySystemSound(/All Vibration Codes/)

I am willing to use either Objective-C or Swift, but the app is natively programmed in swift. Preferably code for Swift 4 and Xcode 9. Thank you so much for your help!!

rmaddy
  • 307,833
  • 40
  • 508
  • 550

0 Answers0