SwiftUI MapKit Basics
CodeWithChris CodeWithChris
587K subscribers
16,203 views
0

 Published On Jul 17, 2023

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.

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/swif...

WWDC23 video reference used:
https://developer.apple.com/wwdc23/10043

show more

Share/Embed