|
@@ -9,6 +9,7 @@ import BFMaterialKit
|
|
|
import BFRecordScreenKit
|
|
|
import BFUIKit
|
|
|
import Foundation
|
|
|
+import UIKit
|
|
|
|
|
|
class INRecorderController: BFBaseViewController {
|
|
|
lazy var addVideoBtn: UIButton = {
|
|
@@ -19,6 +20,12 @@ class INRecorderController: BFBaseViewController {
|
|
|
return btn
|
|
|
}()
|
|
|
|
|
|
+ lazy var bgView:UIImageView = {
|
|
|
+ let bgView = UIImageView.init(frame: CGRect.init(x: 0, y: 0, width: cScreenWidth, height: cScreenHeigth))
|
|
|
+ bgView.contentMode = .scaleAspectFit
|
|
|
+ bgView.image = UIImage(named: "homebg")
|
|
|
+ return bgView
|
|
|
+ }()
|
|
|
override func viewWillAppear(_ animated: Bool) {
|
|
|
super.viewWillAppear(animated)
|
|
|
hiddenNavigation()
|
|
@@ -27,6 +34,8 @@ class INRecorderController: BFBaseViewController {
|
|
|
override func viewDidLoad() {
|
|
|
super.viewDidLoad()
|
|
|
view.backgroundColor = .black
|
|
|
+ view.addSubview(bgView)
|
|
|
+
|
|
|
view.addSubview(addVideoBtn)
|
|
|
addVideoBtn.snp.makeConstraints { make in
|
|
|
make.width.height.equalTo(170)
|