How to make iPhone soft vibrate one time? Below code vibrates twice. Is there any way to check how many times vibrate occur in simulator? :)
let generator = UINotificationFeedbackGenerator()
generator.notificationOccurred(.success) // .error .warning