Learn how to use the Google Maps iOS SDK to retrieve the user's current location and search for nearby points of interest, such as bars and restaurants.
Iāve followed your tutorial from the start but I do not see any of the locations appear. When I debug code in GoogleDataProvider.swift and log the result, I found that āplacesArrayā is empty. What should I do?
Hi Ron - Great tutorial! I successfully followed and have the app working correctly through the Web Service. My question is whether or not you know if the Google Places API for IOS has changed since your writing to allow for direct queries from a mobile app? If not, how is someone supposed to deploy an app or use it outside of localhost? Thanks again!
āNote: If you are using Google Places API Web Service in your Android or iOS app, we recommend that you use the Google Places API for Android or the Google Places API for iOS instead. Note that the usage limits are different on Android and iOS.ā
I just scanned this tutorial and it looks helpful for me. My main goal is to let users drop pins and upload photos to that location. Can I take this tutorial a step further to make this happen? Do you have any suggestions on where to learn how to do this?
Hi All. This looks like a great tutorial, however since I am very new to Swift, I am having issues compiling even just the original āFeed Meā code provided due to the Swift 2 to Swift 3 transistion. Does anyone have the new format for all the JSON references? I currently have about 19 errors and havenāt been able to find to many helpful online resources. Perhaps someone could send an update of the original āFeed Meā so I can begin following the tutorial? Thank you!
Would it be possible to have this tutorial updated for Swift 3 and the current Google Maps API? Iāve managed to get most of it working on my own at this point, however for a beginner this might be more challenging.
Some points to note, from my experience:
It seems you only need one API key now
It also seems youāre able to call the API methods from a mobile app, so you donāt really need a local server (also means you can run the app on a proper device anywhere). If Iām mistaken on this count, my apologies
Otherwise, this is a great, easy-to-follow tutorial. Thanks a lot for the hard work and a great resource
I am writing code in Swift 3. But facing a problem that its working good on my simulator but when i tried it on my iPOD, its crashed. Please suggest a solution.
Hey aurora, is that correct about not needing a local server? Would be great if thatās the case. I canāt find any more info about that. The google web service api page still has this on it ;
@joeyslomowitz thatās right. Iāve just finished this tutorial using Xcode 9, and only used one key, and no local server. Well, technically two keys - because one I restricted specifically for iOS app with the bundle, and the other one is unrestricted, but you could probably just use one otherwise. There are a couple of minor changes to accommodate this.
This tutorial is more than six months old so questions are no longer supported at the moment for it. We will update it as soon as possible. Thank you! :]