Commit b32c8ff5 authored by pete谢兆麟's avatar pete谢兆麟

修改预览显示异常

parent 3f2a080f
...@@ -16,21 +16,14 @@ class YHImageViewController: YHBaseViewController { ...@@ -16,21 +16,14 @@ class YHImageViewController: YHBaseViewController {
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
viewModel = YHWorkExperienceViewModel()
view.backgroundColor = .black view.backgroundColor = .black
viewModel = YHWorkExperienceViewModel()
self.hidesBottomBarWhenPushed = true
if #available(iOS 11.0, *) {
} else {
self.automaticallyAdjustsScrollViewInsets = false
}
setView() setView()
getData() getData()
} }
override func viewWillAppear(_ animated: Bool) { override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated) super.viewWillAppear(animated)
navigationController?.isNavigationBarHidden = false
} }
func setView() { func setView() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment