Post

Replies

Boosts

Views

Activity

Constraint for views in SwiftUI
Hi. I'm having this situation: Let's say I have 3 views like this: VStack { View A View B View C } Now I'm using padding() but view B's height is dynamic -> the issue is view C will be jumping up and down when view B's height changes -> I want to set a constraint (I know SwiftUI removed constraint) from view C to view A to ignore the view B's height changing. Any idea? Thanks.
1
0
1.2k
Nov ’22