I have found a work-around if anyone has the same issue. This is something to do with the recording and vibrate using the same data stream and I cannot find any documentation to deal with multiple streams correctly. Instead, I have turned off voice recording, make the buzz and then reactivate voice recording (I had to introduce a sleep before reactivating voice recording to allow the vibrate to complete), a bit of a botch; but it works. If anyone has any links to examples that do this elegantly then I'd be very grateful.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: