image of my problem and code along with it
so I am looking for how to stick this image to the top right portent of the screen. Should I use geometry reader and if so how would I implement that in my code.
Image("OnBoardingBackground")
VStack {
Image("SignInImage")
.resizable()
.scaledToFit()
Text("Get Started")
.font(.largeTitle)
.fontWeight(.heavy)
.fontWidth(.expanded)
.fontDesign(.monospaced)
Spacer()
Text("Find community within your community")
.font(.subheadline)
.fontWeight(.heavy)
.fontWidth(.standard)
.multilineTextAlignment(.center)
.fontDesign(.monospaced)
.frame(width: 200)
Divider()
That is a small snippet of what I have.
I have tried geometry reader several times but can’t seem to get it to work properly. Honestly don’t know what else to try.
sorry if there is an easy solution I just can’t seem to find one and am relatively new to swiftui.