底部标签栏效果
2020-08-05 本文已影响0人
艾迪不是奥特曼

Spacer()
HStack {
Spacer()
Label("辣", systemImage: "flame.fill")
Spacer()
}
.padding(.all)
.font(.headline)
.background(Color.red)
.foregroundColor(.white)
Spacer()
HStack {
Spacer()
Label("辣", systemImage: "flame.fill")
Spacer()
}
.padding(.all)
.font(.headline)
.background(Color.red)
.foregroundColor(.white)