|
@@ -528,7 +528,11 @@ public class BFRecordScreenController: BFBaseViewController {
|
|
|
// bottomeView.addSubview(changeVoiceBtn)
|
|
|
bottomeView.addSubview(progressThumV)
|
|
|
|
|
|
- checkStatus()
|
|
|
+ if checkStatus() {
|
|
|
+ try? AVAudioSession.sharedInstance().setCategory(.playAndRecord, options: .defaultToSpeaker)
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
|
|
|
avatarView.recordEndCallBack = { _, materialsModel in
|
|
|
BFLog(message: "新录制完成::::\(materialsModel?.locationPath ?? "")")
|