Swiftui - Quick Demo
Swiftui - Quick Demo
VStack{
VStack{
Text("My name is Gabriela! I am 22 years old :)")
Image("confident1C")
.resizable()
.frame(width: 100, height: 100)
Button(action: {
UIImpactFeedbackGenerator(style: .soft).impactOccurred()
}, label: {
Image("breakfast1A")
.resizable()
.frame(width: 100, height: 100)
})
Spacer()
Button(action: {
UIImpactFeedbackGenerator(style: .heavy).impactOccurred()
}, label: {
Image("productive1C")
.resizable()
.frame(width: 100, height: 100)
})
}.background(Color.blue)
HStack{
Text("My name is Isabelle! I am 8 years old :)")
Spacer()
Image("blessed1C")
.resizable()
.frame(width: 100, height: 100)
}.background(Color.yellow)
}
.border(.blue)
.padding(30)
.frame(maxHeight: .infinity)
.background(
Color.pink.opacity(0.6)
)
}
}
}
#Preview {
IsabellesView()
}