38 lines
860 B
Swift
38 lines
860 B
Swift
//
|
|
// SRMyShortViewController.swift
|
|
// SynthReel
|
|
//
|
|
// Created by 湖北秦九 on 2025/11/20.
|
|
// Copyright © 2025 SR. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
import SnapKit
|
|
|
|
class SRMyShortViewController: SRViewController {
|
|
|
|
override func viewDidLoad() {
|
|
super.viewDidLoad()
|
|
self.backgroundImageView.image = UIImage(named: "my_short_bg_image")
|
|
self.backgroundImageView.contentMode = .scaleAspectFit
|
|
|
|
sr_setupUI()
|
|
}
|
|
|
|
override func viewWillAppear(_ animated: Bool) {
|
|
super.viewWillAppear(animated)
|
|
self.navigationController?.setNavigationBarHidden(true, animated: true)
|
|
}
|
|
|
|
}
|
|
|
|
extension SRMyShortViewController {
|
|
private func sr_setupUI() {
|
|
|
|
self.backgroundImageView.snp.remakeConstraints { make in
|
|
make.edges.equalToSuperview()
|
|
}
|
|
}
|
|
|
|
}
|