Use Map initializers that take a MapContentBuilder instead.
'init(coordinateRegion:interactionModes:showsUserLocation:userTrackingMode:)' was deprecated in iOS 17.0: Use Map initializers that take a MapContentBuilder instead.
SwiftUI Camp π https://rebeloper.com/swiftui-camp
In this SwiftUI Map Tutorial, we will cover how to create stunning interactive maps with the SwiftUI MapKit component. We will explore how to use the marker, pin, annotation, and map components to create rich and interactive maps. We will also cover how to position and size markers, pins, and annotations on the map, as well as how to pinch and zoom in and out to view a more detailed view of the map. If you're interested in learning how to create amazing interactive maps with the SwiftUI MapKit component, then this tutorial is for you! By the end of this video, you'll be able to create maps that are both informative and visually appealing.
CHAPTERS:
00:00 INTRO
00:20 SWIFTUI CAMP
00:38 ADD A MAP IN SWIFTUI
01:38 ADD A MARKER IN SWIFTUI MAP
02:59 MASTER SWIFTUI WITH SWIFTUI CAMP
03:35 CUSTOM MARKER IN SWIFTUI MAP
04:25 ADD AN ANNOTATION IN SWIFTUI MAP
06:30 NAVIGATE WITH ANNOTATION IN SWIFTUI MAP
07:20 STYLE MAP IN SWIFTUI
08:25 ADD MAP CONTROLS IN SWIFTUI
09:21 WHERE TO GO FROM HERE
Donβt forget to download the resources: β here
VIDEOS I RECOMMEND
A Subscriber Sent Me a Junior Swift Interview Challenge, Let's Solve It
The Last SwiftData Tutorial You Will Ever Need
Senior SwiftUI Developer tries SwiftUI Test
The Secret Tool Every Designer and Coder Needs: Design Overlay Collaboration Explained
TestFlight - How to use TestFlight
DO YOU WANT TO BE MY APPRENTICE? HIRE ME
Say Hi on social:
Github: https://github.com/rebeloper/
Hire me: https://rebeloper.com/hire-us/
LinkedIn: https://www.linkedin.com/in/rebeloper/
Follow me on Instagram: https://www.instagram.com/rebeloper/