var body: some View {
NavigationView {
VStack {
Image(systemName: "cross.fill")
.font(.system(size: 150))
.foregroundColor(Color(.systemRed))
Text("SOS")
.font(.system(size: 40, weight: .bold))
}
.toolbar{
ToolbarItemGroup(placement: .bottomBar) {
Image(systemName: "cross.fill")
.font(.system(size: 30.0))
.foregroundColor(Color(.systemRed))
Spacer()
NavigationLink(destination: heartTextSquareView().navigationBarBackButtonHidden(true)) {
Image(systemName: "heart.text.square")
.font(.system(size: 30.0))
.foregroundColor(Color(.systemRed))
}
Spacer()
NavigationLink(destination: keyView().navigationBarBackButtonHidden(true)) {
Image (systemName: "key")
.font(.system(size: 30.0))
.foregroundColor(Color(.systemRed))
}
Spacer()
Image (systemName: "gearshape")
.font(.system(size: 30))
.foregroundColor(Color(.systemRed))
}
}
}
}
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: