How to Start with Default Apple Maps Functionality in iOS 18+

Hi everyone,

I’m building an iOS 18+ app in Xcode where Apple Maps is central. My goal is to start with the default Apple Maps experience (map view, search bar, pins, directions sheet, etc.) and then customize it for my project.

I tried coding it from scratch using MapKit and SwiftUI, but I wasn’t able to get full parity with the basic features of the Maps app.

My questions:

Is there any sample project, template, or reference that provides the default Apple Maps functionality (views + interactions) as a baseline?

Can I copy these into my Xcode project and then extend/customize them?

If not, what’s the recommended best practice to get as close as possible to the native Maps app before adding my own features?

Any guidance, sample code, or documentation links would be greatly appreciated.

Answered by DTS Engineer in 854641022

If you haven’t already explored the Searching, displaying, and navigating to places sample code and the WWDC25 session: Go further with MapKit, those are excellent resources to help you get started.

If you haven’t already explored the Searching, displaying, and navigating to places sample code and the WWDC25 session: Go further with MapKit, those are excellent resources to help you get started.

How to Start with Default Apple Maps Functionality in iOS 18+
 
 
Q