Post

Replies

Boosts

Views

Activity

Comment on ZStack Issue
I have Xcode 13.1. Here is the text, thanks for taking a look. `import SwiftUI struct ContentView: View {   var body: some View {         ZStack{               Image("black")       VStack{               HStack{           Text("Home")             .background(Color.white)             .padding(.all)           Spacer()           Text("News")             .background(Color.white)             .padding(.all)           Spacer()           Text("Feed")             .background(Color.white)             .padding(.all)           Spacer()         }         Spacer()       }                     }         } } struct ContentView_Previews: PreviewProvider {   static var previews: some View {     ContentView()   } }`
Nov ’21
Comment on ZStack Issue
That worked. Not sure why the image didnt work but that at least helps me for now. Thank you to everyone who took the time to help a noob out.
Replies
Boosts
Views
Activity
Nov ’21
Comment on ZStack Issue
Thanks for the tip. New to all this so I appreciate it.
Replies
Boosts
Views
Activity
Nov ’21
Comment on ZStack Issue
I have Xcode 13.1. Here is the text, thanks for taking a look. `import SwiftUI struct ContentView: View {   var body: some View {         ZStack{               Image("black")       VStack{               HStack{           Text("Home")             .background(Color.white)             .padding(.all)           Spacer()           Text("News")             .background(Color.white)             .padding(.all)           Spacer()           Text("Feed")             .background(Color.white)             .padding(.all)           Spacer()         }         Spacer()       }                     }         } } struct ContentView_Previews: PreviewProvider {   static var previews: some View {     ContentView()   } }`
Replies
Boosts
Views
Activity
Nov ’21