Browse Source

设置变音 View 添加到 WINDWOS 上

jsonwang 3 years ago
parent
commit
c558ec847e

+ 3 - 1
BFRecordScreenKit/Classes/RecordScreen/Controller/BFRecordScreenController.swift

@@ -731,7 +731,9 @@ public class BFRecordScreenController: BFBaseViewController {
         view.addSubview(cameraFlipBtn)
         view.addSubview(subtitleSettingView)
         view.addSubview(audioSettingView)
-        view.addSubview(voiceSettingView)
+        //??? add key windows?
+        UIApplication.shared.keyWindow?.addSubview(voiceSettingView)
+
 
         bottomeView.addSubview(progreddL)
         //        view.addSubview(toolV)