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

php - Embed BBCode within itself not working -

three.js - how to load gltf in three JS -

sql server - T-SQL: Access DB objects in same schema without qualifying? -