123456789101112131415161718192021222324 |
- //
- // 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<UITouch>, with event: UIEvent?) {
- offlabel.isHidden = false
- }
- override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
- offlabel.isHidden = true
- }
-
- }
|