marinofaggiana %!s(int64=3) %!d(string=hai) anos
pai
achega
a02b95eb4e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      iOSClient/AppDelegate.swift

+ 1 - 1
iOSClient/AppDelegate.swift

@@ -141,7 +141,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
 
         // Audio Session
         do {
-            try AVAudioSession.sharedInstance().setCategory(.playback, mode: .default, options: [.mixWithOthers, .allowAirPlay])
+            try AVAudioSession.sharedInstance().setCategory(.playAndRecord, mode: .default, options: [.mixWithOthers, .allowAirPlay])
             try AVAudioSession.sharedInstance().setActive(true)
         } catch {
             print(error)