Hi there,
I am still quite new to Swift and want to combine a few views into one single view. But the problem is, that if I do it like in the following code, there are windows for each view. Is there a chance to code it that it is one coherent view where I can scroll through?
Thank you for your help!
Laurin
@AppStorage("MediAnsicht") var MedisEinfacheAnsicht = false
var body: some View {
if MedisEinfacheAnsicht == true {
AcetylsalicylsaeureAllgInfos()
AcetylsalicylsaeureKontraind()
AcetylsalicylsaeureUAWs()
} else {
AcetylsalicylsaeureMenu()
}
}
}