In the animation transitions playground for the beginning iOS animation course, it appears that in iOS 12 you can’t use the .isHidden property like this:
UIView.transition(
with: beachball,
duration: duration,
options: beachballOptions,
animations: {
self.beachball.isHidden = shouldHide
},
completion: nil)
So how does one go about performing these types of transitions now?