I want place a banner(view) bottom of the VStack(which takes screen’s width and height) apart from safe area.
The issue is when I am trying to assign a background color, the view is going out of bounds.
Here is code i have written
enter image description here
}[enter image description here](https://i.sstatic.net/k0zouMb8.png)
But when i added .background(Rectangle().fill(.red)). It is working as expected.
[enter image description here](https://i.sstatic.net/98chkYKN.png)
is there any it should be done.
Any solution to that
Beast is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1