Skip to content

Instantly share code, notes, and snippets.

@tad-iizuka
Created June 17, 2017 07:07
Show Gist options
  • Save tad-iizuka/9d7b4c8dd6e7680bb62fc4b118d3bfb5 to your computer and use it in GitHub Desktop.
Save tad-iizuka/9d7b4c8dd6e7680bb62fc4b118d3bfb5 to your computer and use it in GitHub Desktop.
UIView.setAnimationsEnabled(false)
button.setTitle("label", for: .normal)
button.layoutIfNeeded()
UIView.setAnimationsEnabled(true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment