1
0
Prechádzať zdrojové kódy

Final Landmarks chapter code

Admin 4 rokov pred
rodič
commit
22963aed56

BIN
Landmarks.xcodeproj/project.xcworkspace/xcuserdata/admin.xcuserdatad/UserInterfaceState.xcuserstate


+ 12 - 0
Landmarks/ContentView.swift

@@ -9,6 +9,15 @@ import SwiftUI
 
 struct ContentView: View {
     var body: some View {
+        VStack{
+            MapView()
+                .edgesIgnoringSafeArea(.top)
+                .frame(height: 300)
+            
+            CircleImage()
+                .offset(y:-130)
+                .padding(.bottom, -130)
+            
         VStack(alignment: .leading) {
             Text("Turtle Rock")
                 .font(/*@START_MENU_TOKEN@*/.title/*@END_MENU_TOKEN@*/)
@@ -21,6 +30,9 @@ struct ContentView: View {
             }
         }
         .padding()
+            
+            Spacer()
+        }
     }
 }