License | |
ReleasedLast Release | Jun 2022 |
Maintained by Google, Daniel Teh, Dave Weston, Melissa Regalia, Bob Liu, Zihan Tong, Ally Li, Christopher Truman, Zion Calvo, Behzad Dogahe.
NOTE: This pod is the official pod for the Google Places API for iOS.
Previously this pod was used by another developer, his content has been moved to
Swift Google Maps API on
GitHub.
This pod contains the Google Places API for iOS, supporting both Objective C and
Swift.
Use the [Google Places API for iOS]
(https://developers.google.com/places/ios-sdk/) for exciting features based
on the user's location and Google's Places database. You can enable users to
add a place, autocomplete place names, use a place picker widget, identify
the user's current place or retrieve full details and photos of a place.
The Google Places API for iOS is distributed as a stand alone Pod. This Pod
contains all the Google Places API for iOS functionality which does not require
a map.
Guides: Read our [Getting Started guides]
(https://developers.google.com/places/ios-sdk/start).
Code samples: In order to try out our demo app, run
$ pod try GooglePlaces
and follow the instructions on our [developer pages]
(https://developers.google.com/places/ios-api/code-samples).
Support: Find support from various channels and communities.
Report issues: Use our issue tracker to [file a bug]
(https://code.google.com/p/gmaps-api-issues/issues/entry?template=Places%20API%20for%20iOS%20-%20Bug)
or a [feature request]
(https://code.google.com/p/gmaps-api-issues/issues/entry?template=Places%20API%20for%20iOS%20-%20Feature%20Request)
To integrate Google Places API for iOS into your Xcode project using CocoaPods,
specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '12.0'
target 'YOUR_APPLICATION_TARGET_NAME_HERE' do
pod 'GooglePlaces'
end
Then, run the following command:
$ pod install
Before you can start using the API, you have to activate it in the Google
Developer Console and integrate the
respective API key in your project. For detailed installation instructions,
visit Google's Getting Started Guides for the [Google Places API for iOS]
(https://developers.google.com/places/ios-api/start).
By using the Google Places API for iOS, you accept Google's Terms of
Service and Policies. Pay attention particularly to the following aspects: