// // IHLightCloseView.swift // Inhealth // // Created by weclouds on 2020/8/21. // Copyright © 2020 weclouds. All rights reserved. // import UIKit class IHLightCloseView: UIView { @IBOutlet weak var offlabel: UILabel! override func touchesBegan(_ touches: Set, with event: UIEvent?) { offlabel.isHidden = false } override func touchesEnded(_ touches: Set, with event: UIEvent?) { offlabel.isHidden = true } }