I ask for help if someone knows how to do this, I want it to go to the profile. And the navigation bar is where it says "Profile" is in inline mode by default and when we slide it down it shows me in the default mode. I upload another image of how I want it to look when I swip Donw. In the WhatsApp application it is configured that way. I looked in the documentation but I didn't find it.
struct PerfilView: View {
var body: some View {
VStack {
List {
Image("1640669")
.resizable()
.frame(width: 80, height: 80)
.clipShape(Circle())
Text("Ester Exposito")
.font(.footnote)
Section(header: Text("Direccion")) {
ForEach (1..<4){ item in
Text("")
}.accentColor(.red)
}
Section(header: Text("")) {
Text("")
}
}.listStyle(GroupedListStyle())
}
}
}
struct PerfilView_Previews: PreviewProvider {
static var previews: some View {
PerfilView()
}
}