Everything was going fine after i set the background Color, after I added a Button it created another Tab in the Preview Panel which I dont want. I want the button to be on top since all i did was set the background Color. Im new to XCode so Articles/Videos would be helpful
Swift Script:
struct HomeScreen: View {
var body: some View {
Color.accentColor
.ignoresSafeArea()
Button(/*@START_MENU_TOKEN@*/"Button"/*@END_MENU_TOKEN@*/) {
/*@START_MENU_TOKEN@*//*@PLACEHOLDER=Action@*/ /*@END_MENU_TOKEN@*/
}
}
}