So, I Need To Switch To A View In SwiftUI. without A NavigationLink or button. Heres What I Want:
if "Condition" == "Variable" {
CODE HERE
}
So If I Have 2 Views, (ContentView And MainView) I Need To be Able To Switch From One To Another With Code. So If A Condition Is True,False, or Anything, I Can Switch Views. Thank You For Your Time.