Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct ContentView : View {
- var body: some View {
- ZStack {
- Button("VIEW 1") {
- }.padding(100)
- .background(Color.orange)
- Button("VIEW 2") {
- }.padding(100)
- .background(Color.blue)
- .offset(y: 50)
- Button("VIEW 3") {
- }.padding(100)
- .background(Color.yellow)
- .offset(y: 100)
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement