Hi,
Can someone help me. My app preview is crashing but I don’t know why.
Here is a picture and also link to GitHub.
Hi,
Can someone help me. My app preview is crashing but I don’t know why.
Here is a picture and also link to GitHub.
Hi Joe,
I cannot access the repo you have linked to so I suspect that it is private rather than public.
Hi Chris,
thank you for getting back to me, I have changed it to public, can you see it now?
https://github.com/joemcmanus93/SWIFTUI-FOUNDATIONS-M4
OK the issue was here:
VStack(alignment: .leading, spacing: 10) {
Text("PreperationTime:")
font(.headline)
Text("1 Hour")
Text("Highlights:")
font(.headline)
Text("Healthy, Hearty")
}
You need to have a .
preceding the font() modifier like this:
VStack(alignment: .leading, spacing: 10) {
Text("PreperationTime:")
.font(.headline)
Text("1 Hour")
Text("Highlights:")
.font(.headline)
Text("Healthy, Hearty")
}
Thank you very much