Browse Source

点击非输入区算完成

jsonwang 3 năm trước cách đây
mục cha
commit
1deaf366e9

+ 1 - 0
BFRecordScreenKit/Classes/RecordScreen/View/BFSubtitleEditView.swift

@@ -51,6 +51,7 @@ class BFSubtitleEditView: UIView {
         super.init(frame: frame)
         backgroundColor = UIColor(red: 0, green: 0, blue: 0, alpha: 0.7)
         addSubview(textView)
+        addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(doneAction)))
         textView.snp.makeConstraints { make in
             make.left.equalTo(37)
             make.width.equalTo(300)