Cybernetic
Cybernetic

Reputation: 13354

MapKit with UISearchBar

So if I understand correctly you can no longer use certain Google APIs with iOS (ex. Google Places). So how can we use the iOS MapKit with a UISearchBar to search for locations? The map on my iPhone has a searchbar so if I, for example, type coffeshops I get all the pins in my area of local coffesshops. If Apple is not using Google APIs what are they using to find this data? How can we developers tap into this search data?

Upvotes: 1

Views: 716

Answers (2)

tBug
tBug

Reputation: 826

I have a small app with this feature.

Github: https://github.com/galahador/MapTag

UISearchBar - when you input data in bar, it shows on a map with a pointer (pin)

If you need any help, I can show code and explain everything.

Upvotes: 0

Related Questions