SHARE
TWEET

Untitled

a guest Jul 17th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. struct ContentView : View {
  2.     var body: some View {
  3.        
  4.         ZStack {
  5.            
  6.             Button("VIEW 1") {
  7.                
  8.             }.padding(100)
  9.              .background(Color.orange)
  10.            
  11.             Button("VIEW 2") {
  12.                
  13.             }.padding(100)
  14.                 .background(Color.blue)
  15.                 .offset(y: 50)
  16.            
  17.             Button("VIEW 3") {
  18.                
  19.             }.padding(100)
  20.                 .background(Color.yellow)
  21.                 .offset(y: 100)
  22.            
  23.            
  24.         }
  25.    
  26.     }
  27. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top