51 lines
991 B
Swift
51 lines
991 B
Swift
//
|
|
// SPAllViewController.swift
|
|
// MoviaBox
|
|
//
|
|
// Created by 佳尔 on 2025/5/15.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
class SPAllViewController: SPViewController {
|
|
|
|
|
|
private lazy var allVC: SPAllShortViewController = {
|
|
let vc = SPAllShortViewController()
|
|
return vc
|
|
}()
|
|
|
|
override func viewDidLoad() {
|
|
super.viewDidLoad()
|
|
self.edgesForExtendedLayout = .top
|
|
self.title = "movia_library".localized
|
|
|
|
setBackgroundView(isShowGradient: false)
|
|
|
|
_setupUI()
|
|
|
|
}
|
|
|
|
override func viewWillAppear(_ animated: Bool) {
|
|
super.viewWillAppear(animated)
|
|
self.navigationController?.setNavigationBarHidden(false, animated: true)
|
|
|
|
setNavigationBackgroundColor(color: .clear, isTranslucent: true)
|
|
}
|
|
|
|
|
|
}
|
|
|
|
extension SPAllViewController {
|
|
|
|
private func _setupUI() {
|
|
addChild(allVC)
|
|
|
|
view.addSubview(allVC.view)
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|