ios - Fade out button when not touching for 3 seconds and fade in when user touches the screen -


problem:

i have uibutton i'd fade out few seconds when user doesn't touch screen , fade them in when user touches screen. think might need use timer , animation in viewdidload part

@iboutlet var startstopbutton:  uibutton!  @ibaction func startstopbuttontapped(_ sender: uibutton) {  }   override func viewdidload() {     super.viewdidload() } 


Comments

Popular posts from this blog

javascript - WinJS appendTextAsync producing scheduler errors -

minify - Minimizing css files -

Sockets with kotlin -