【发布时间】:2017-09-12 01:52:05
【问题描述】:
问题:
我有一个 UIButton,我想在用户不触摸屏幕时淡出几秒钟,并在用户触摸屏幕时淡入。我想我可能需要在 viewdidload 部分使用计时器和一些动画
@IBOutlet var startStopButton: UIButton!
@IBAction func startStopButtonTapped(_ sender: UIButton) {
}
override func viewDidLoad() {
super.viewDidLoad() }
【问题讨论】:
标签: ios xcode animation button fadein