Change background color of view in SwiftUI
Here we can Use ZStack to set the background of the view. Basically ZStack adding up the elements Top on it. or we can say as on Z-Axis. Here we can use Color.red which is bit similar to emptyView hence all other items will be added on the Z-Axis 1. Background Color inside safeArea 1. […]
Change background color of view in SwiftUI Read More »