浏览代码

设置变音 View 添加到 WINDWOS 上

jsonwang 3 年之前
父节点
当前提交
c558ec847e
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      BFRecordScreenKit/Classes/RecordScreen/Controller/BFRecordScreenController.swift

+ 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)