Questions tagged [swiftui-transition]
17 questions
0
votes
1 answer
How to animate a view transition on a conditional view?
The setup is quite simple:
State/Observable/Computet property, let's call it S1
Views (V1, V2) that depend on S1
The following conditions must hold:
V1 should have a transition for in/out and be animated
Other views (e.g. V2) must not be animated…

Leo
- 1,508
- 13
- 27
0
votes
1 answer
How to conditionally render a SwiftUI Form with animation using the selection from a Segmented Picker?
I'm trying to conditionally render two Forms based on the selection from a segmented picker. It all works fine when there's no animations, but the moment I add them in, the first Form seems to break.
Code for the 1st Form:
struct CalculateView: View…

JustAnotherCarGuy
- 3
- 1
- 3