12345678910111213141516171819202122 |
- //
- // IHLampCloseView.swift
- // Inhealth
- //
- // Created by weclouds on 2020/4/20.
- // Copyright © 2020 weclouds. All rights reserved.
- //
- import UIKit
- class IHLampCloseView: 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
- }
-
- }
|