IHRoomLightVCtr.swift 774 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // IHRoomLightVCtr.swift
  3. // Inhealth
  4. //
  5. // Created by weclouds on 2019/12/16.
  6. // Copyright © 2019 weclouds. All rights reserved.
  7. //
  8. import UIKit
  9. class IHRoomLightVCtr: UIViewController {
  10. var dataSource : DevData?
  11. let manager = IHRoomLightManager()
  12. override func viewDidLoad() {
  13. super.viewDidLoad()
  14. view.backgroundColor = .white
  15. manager.bindController(self)
  16. }
  17. override func viewWillAppear(_ animated: Bool) {
  18. super.viewWillAppear(animated)
  19. navigationController?.interactivePopGestureRecognizer?.isEnabled = false
  20. }
  21. override func viewDidDisappear(_ animated: Bool) {
  22. super.viewDidDisappear(animated)
  23. navigationController?.interactivePopGestureRecognizer?.isEnabled = true
  24. }
  25. }