Created
July 16, 2020 10:00
-
-
Save stevencurtis/f9348d8adfcf5795c42086b5ebe4e3b8 to your computer and use it in GitHub Desktop.
fadeout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override func viewWillDisappear(_ animated: Bool) { | |
UIView.animate(withDuration: 0.20, delay: 0, options: [], animations: { | |
self.tree0.alpha = 0.0 | |
self.city2.alpha = 0.0 | |
self.city.alpha = 0.0 | |
self.manImage.alpha = 0.0 | |
}, completion: nil) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment