// // IHRoomLightVCtr.swift // Inhealth // // Created by weclouds on 2019/12/16. // Copyright © 2019 weclouds. All rights reserved. // import UIKit class IHRoomLightVCtr: UIViewController { var dataSource : DevData? let manager = IHRoomLightManager() override func viewDidLoad() { super.viewDidLoad() view.backgroundColor = .white manager.bindController(self) } override func viewWillAppear(_ animated: Bool) { super.viewWillAppear(animated) navigationController?.interactivePopGestureRecognizer?.isEnabled = false } override func viewDidDisappear(_ animated: Bool) { super.viewDidDisappear(animated) navigationController?.interactivePopGestureRecognizer?.isEnabled = true } }