소스 검색

设置变音 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)