Post

Replies

Boosts

Views

Activity

Reply to Creating Multiple Bodies
Actually, I have one more question. I am trying to make it so the secondBody only shows up when it is within a range of a value. Something like this within the first body parameter: if stepNum 4 {       secondBody     } This does work, but I end up with two views crammed into one screen like I added a VStack. Is there any way to remove the first body?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Apr ’21