making sure haptics work and complete even when starting to record
jeez soo many little things here
This commit is contained in:
@@ -18,7 +18,9 @@ class InnerCircleViewModel: ObservableObject {
|
||||
|
||||
func startRecording() {
|
||||
let recordingSession = AVAudioSession.sharedInstance()
|
||||
|
||||
do {
|
||||
try recordingSession.setAllowHapticsAndSystemSoundsDuringRecording(true)
|
||||
try recordingSession.setCategory(.playAndRecord, mode: .default)
|
||||
try recordingSession.setActive(true)
|
||||
} catch {
|
||||
|
||||
Reference in New Issue
Block a user