|
@@ -13,6 +13,7 @@ import Foundation
|
|
import GPUImage
|
|
import GPUImage
|
|
import Photos
|
|
import Photos
|
|
import UIKit
|
|
import UIKit
|
|
|
|
+import BFNetRequestKit
|
|
|
|
|
|
struct WithDrawModel {
|
|
struct WithDrawModel {
|
|
var type: Int // 0:拖动; 1:预览播放暂停 2: 录音结束 3: 删除录音 4: 删除字幕
|
|
var type: Int // 0:拖动; 1:预览播放暂停 2: 录音结束 3: 删除录音 4: 删除字幕
|
|
@@ -477,6 +478,10 @@ public class BFRecordScreenController: BFBaseViewController {
|
|
layoutsubview()
|
|
layoutsubview()
|
|
|
|
|
|
view.addSubview(subtitleEditView)
|
|
view.addSubview(subtitleEditView)
|
|
|
|
+
|
|
|
|
+ if(!SWNetRequest.isNetReachabled()){
|
|
|
|
+ cShowHUB(superView: view, msg: "网络不佳,字幕可能无法生成")
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
@objc func editSubtitle() {
|
|
@objc func editSubtitle() {
|