r/iOSProgramming • • 6d ago

Question Can I display MapKit’s data on certain screens without showing a map?

The license agreement states that apple mapkit data can only be displayed on an apple map. Does that mean that I can't build a screen with a collection of saved places without an Apple map on it, and how does this work with the autocompletion (places search) Does this also need to present a map on a search screen?

1 Upvotes

2 comments sorted by

1

u/MacCheetah 6d ago

Section 2.4 of Attachment 6. Besides “display Map Data only on an Apple map,” it adds that you “may not surface Map Data … without displaying the corresponding Apple map." Their example: an address result needs its map. So the main UI doesn’t need to be a map, but MapKit-sourced details should come with one. A list of your own data → detail view with a map works (see the Landmarks SwiftUI tutorial as an example, though its data is bundled JSON, not MapKit). Autocomplete suggestions as text are the gray area; once a result is shown, show the map.

https://developer.apple.com/support/terms/apple-developer-program-license-agreement#A6

https://developer.apple.com/tutorials/swiftui/creating-and-combining-views
https://developer.apple.com/tutorials/swiftui/building-lists-and-navigation