Applies the given animation to all animatable values within this view.
- iOS 13.0+Beta
- macOS 10.15+Beta
- Mac Catalyst 13.0+Beta
- tvOS 13.0+Beta
- watchOS 6.0+Beta
- Xcode 11.0+Beta
The animation to apply to animatable values within this view.
A view that wraps this view and applies
animation to all animatable values used within the view.
Use this modifier on leaf views rather than container views. The animation applies to all child views within this view; calling
animation(_:) on a container view can lead to unbounded scope.