mirror of
https://github.com/metabolist/metatext.git
synced 2024-06-19 13:40:42 +00:00
26 lines
679 B
Swift
26 lines
679 B
Swift
|
// Copyright © 2020 Metabolist. All rights reserved.
|
||
|
|
||
|
import UIKit
|
||
|
|
||
|
class ImageNavigationController: UINavigationController {
|
||
|
private let imagePageViewController: ImagePageViewController
|
||
|
|
||
|
init(imagePageViewController: ImagePageViewController) {
|
||
|
self.imagePageViewController = imagePageViewController
|
||
|
|
||
|
super.init(rootViewController: imagePageViewController)
|
||
|
}
|
||
|
|
||
|
@available(*, unavailable)
|
||
|
required init?(coder aDecoder: NSCoder) {
|
||
|
fatalError("init(coder:) has not been implemented")
|
||
|
}
|
||
|
|
||
|
override func viewDidLoad() {
|
||
|
super.viewDidLoad()
|
||
|
|
||
|
hidesBarsOnTap = true
|
||
|
modalPresentationStyle = .fullScreen
|
||
|
}
|
||
|
}
|