SwiftUI MapKit Basics
CodeWithChris CodeWithChris
588K subscribers
17,208 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.

👋 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://codewithchris.com/plus

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