GooglePlaces Framework Reference

  • GMSAutocompleteViewControllerDelegate is a protocol used to handle user interactions within the GMSAutocompleteViewController.

  • It provides methods to inform the app when a place is selected, when an error occurs, or if the user cancels the process.

  • Delegate methods also allow the app to track autocomplete prediction updates and selections.

  • Implementations of this protocol are responsible for dismissing the GMSAutocompleteViewController.

GMSAutocompleteViewControllerDelegate

Deprecated

Use the placeAutocomplete View extension in Places Swift SDK (https://developers.google.com/maps/documentation/places/ios-sdk/google-places-swift) instead.

@protocol GMSAutocompleteViewControllerDelegate <NSObject>

Protocol used by GMSAutocompleteViewController, to communicate the user’s interaction with the controller to the application.