MKLocalSearch not finding obvious results

前端 未结 3 1474
生来不讨喜
生来不讨喜 2021-01-06 10:14

My code is virtually identical to the following example:

https://github.com/iamamused/Example-MKLocalSearch.git

Here are the important bits:

         


        
3条回答
  •  不思量自难忘°
    2021-01-06 10:45

    @borisz - too few points to comment directly..BEWARE of using Google Places API in your IOS app. Google states in their terms and conditions that any map displaying data fetched from Google Places API needs to be a Google Map. So if you still wish to use their API and search, just make sure that you are also using a Google Map and not Apple's native maps. Hope this helps - goodluck!

提交回复
热议问题