Reputation: 606
How can I make a fade in/fade out animation on NSVisualEffectView. I have used NSAnimationContext, but it just disappear without animation.
NSAnimationContext.runAnimationGroup({ (context) in
context.duration = 0.5
blurView.animator().alphaValue = 0
}, completionHandler: {
})
Upvotes: 1
Views: 474
Reputation: 3702
It is not possible to modify the alpha of a NSVisualEffectView
. Neither directly nor through animations.
Upvotes: 3