0

Can anybody help with check, vibration system sound works on iPhones 7 or later, i what to know vibration happened or not. I only have 6s.

import AudioToolbox

let peek = SystemSoundID(1519)
AudioServicesPlaySystemSound(peek)

I need this because feedback generator has not completion event, only with AudioToolbox i know when vibration was end

Dmitriy Pushkarev
  • 390
  • 2
  • 5
  • 26

0 Answers0