Visual_Novel_iOS/crush/Crush/Src/Components/Base/CLTabRootController.swift

43 lines
1.1 KiB
Swift

//
// CLTabRootController.swift
// Crush
//
// Created by Leon on 2025/7/22.
//
import UIKit
class CLTabRootController<Container: UIView>: CLViewController<Container>{
private var bgTopIv: UIImageView!
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
//
bgTopIv = {
let v = UIImageView()
v.image = UIImage(named: "meet_top_bg")
view.insertSubview(v, at: 0)
v.snp.makeConstraints { make in
make.top.leading.trailing.equalToSuperview()
make.height.equalTo(v.snp.width).multipliedBy(200/393.0)
}
return v
}()
}
/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destination.
// Pass the selected object to the new view controller.
}
*/
}