init(coordinateRegion... was deprecated in iOS 17.0: Use Map initializers

i'm doing the basic SwiftUI tutorial https://developer.apple.com/tutorials/swiftui/creating-and-combining-views#Use-SwiftUI-Views-From-Other-Frameworks, and I got this error: 'init(coordinateRegion:interactionModes:showsUserLocation:userTrackingMode:)' was deprecated in iOS 17.0: Use Map initializers that take a MapContentBuilder instead. What should I do? I don't know how to use Map initializers
Apple Developer Documentation
Creating and Combining Views | Apple Developer Documentation
This tutorial guides you through building Landmarks — an app for discovering and sharing the places you love. You’ll start by building the view that shows a landmark’s details.
No description
1 Reply
xPsycHoWasPx
xPsycHoWasPx2y ago
Its a warning… not an error … it just means somewhere in the future it will be removed.. it doesnt mean that ios17 u cant use it …
Want results from more Discord servers?
Add your server