[ad_1]
For some motive I am unable to see the again button within the Navigation View.
I do not know if there’s some additional code that I want so as to add within the baby view however I do not know. I kind of copied the code from the tutorial, however I am unable to see the again button within the baby view.
var physique: some View {
VStack {
//Rectangle 12
Rectangle()
.fill(Shade(#colorLiteral(purple: 0.7137255072593689, inexperienced: 0.10196077823638916, blue: 0.10196077823638916, alpha: 1)))
.body(width: .infinity, peak: 50)
.padding(.backside, 0.0)
NavigationView {
ZStack{
Shade(purple: 0.9, inexperienced: 0.9, blue: 0.9).edgesIgnoringSafeArea(.all)
ScrollView(.vertical, showsIndicators: true) {
HStack{
Textual content("Market").font(.customized("Arial", dimension: 35))
.fontWeight(.medium)
.foregroundColor(Shade(purple: 0.1, inexperienced: 0.1, blue: 0.1))
.padding(EdgeInsets(prime: 15, main: 20, backside: -2, trailing: 0))
Spacer()
}
ForEach(produitsdfsdf, id: .id ) { product in
NavigationLink(vacation spot: TempView()) {
LandingPresets.listItem(title: product.title, description: product.value, charge: product.class)
}
}
}
.navigationBarHidden(true)
}
}
.padding(.prime, -8.0)
}.ignoresSafeArea(edges: .prime)
.onAppear {
ProductAPI().getAllProducts {(productArr) in
self.produitsdfsdf = productArr
}
}
}
[ad_2]
