I must set a footer on the backside of my scrollview:
VStack(spacing: dimensions.spacing300) {
header
.atmosphere(.mbContextTheme, .lightAlternative)
.onTapGesture {
UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
}
.background(colours.neutralBg50
.edgesIgnoringSafeArea(.high))
ScrollView {
record
Spacer()
footer
.body(peak: .infinity, alignment: .backside)
.onTapGesture {
UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder),
to: nil,
from: nil,
for: nil)
}
}
.body(alignment: .backside)
}
I had tried utilizing spacer(), geometryreader… Utilizing geometry reader the footer goes to the underside however the spacer turns into too excessive. I want that the footer retains simply on the backside border of the display.
Thanks!!!