|
@@ -105,6 +105,14 @@ public class BFRecordScreenController: BFBaseViewController {
|
|
|
lazy var loadingView: BFLoadingView = {
|
|
|
var loadingView = BFLoadingView(frame: CGRect(x: 0, y: 0, width: cScreenWidth, height: cScreenHeigth))
|
|
|
loadingView.isHidden = true
|
|
|
+ //load view 界面点击关闭时不停止变音任务,变音完成后也不自动进行播放。
|
|
|
+ loadingView.cancelHandle = { [weak self] in
|
|
|
+ guard let wself = self else { return }
|
|
|
+ BFLog(message: "loadingView 点击了取消")
|
|
|
+ wself.voiceFinishAutoPlay = false
|
|
|
+ wself.updatePlayBtnStatus()
|
|
|
+
|
|
|
+ }
|
|
|
|
|
|
return loadingView
|
|
|
}()
|