How can you combine animation of a view's position and opacity simultaneously in SwiftUI when a state changes?
AAnimate only one property at a time; simultaneous animation is not supported.
BApply .animation with value on both .offset and .opacity modifiers and change state inside withAnimation.
CUse two separate withAnimation blocks for position and opacity changes.
DUse UIView.animate inside SwiftUI view to animate both properties.