ZStack Issue

Is anyone able to tell me why my ZStack isnt working correctly? I have my background element listed first before all my text elements so Im confused on why the text elements are still stuck behind the background.

I tried to reproduce, but no problem here.

What is your Xcode version ?

Could you post the code as text, so that we can try it ?

Friendly hint:
It's very hard to make any sense of code screenshots.
Better to put your code into a code block (using "Paste and Match Style"), to make it more readable.
Then people may be able to help you.

Accepted Answer

As a test, instead of Image("black")...
...try:

Rectangle()
    .foregroundColor(Color.black)
    .background(Color.black)
ZStack Issue
 
 
Q