SwiftUI MapKit Basics

SwiftUI MapKit Basics

28.454 Lượt nghe
SwiftUI MapKit Basics
It’s so simple to use maps in your SwiftUI project now! Learn how to add MapKit and a Map component to your SwiftUI project as well as to add markers and annotations. You’ll learn how to set the region and change the style for your map as well. 👋 Our "Launch Your First App" program will help you build up your iOS skills to publish your very own feature rich app even if you’re a beginner starting from scratch. https://cwc.to/youtubeoffer What you’ll learn: (Timestamps) 00:00 Introduction 01:23 Step 1: Adding a map to the SwiftUI project 01:43 Step 2: Adding markers to the map 04:01 Step 3: Adding an annotation to the map 06:55 Step 4: Setting the region and camera position 11:09 Step 5: Changing the style of the map 12:07 Outro Source code/Xcode project: https://codewithchris.zapier.app/swiftui-maps-yt-demo WWDC23 video reference used: https://developer.apple.com/wwdc23/10043