Hi,
I have the following code:
struct Loading: View {
var body: some View {
Text("Loading...")
.onAppear {
print("test")
}
}
}
The view is on the screen, however the print statement doesn't run. Why would this be? Any help would be greatly appreciated.