Image "Powered by Google" is missing

I use GMSAutocompleteViewController and just set the autocompleteBounds and autocompleteFilter properties. Since this is not a custom component, it should automatically display the image “Powered by Google”, but it is not. I used iPhone 5S with iOS 10.3.3 and 6S Plus with iOS 11.0.3 for testing.

Here is the code:

private func showGooglePlaces() {

    let autocompleteViewController = GMSAutocompleteViewController()
    autocompleteViewController.delegate = self

    if let currentLocation = currentLocation {
        let bounds = GMSCoordinateBounds(coordinate: currentLocation.coordinate, coordinate: currentLocation.coordinate)
        autocompleteViewController.autocompleteBounds = bounds

    } else {
        let filter = GMSAutocompleteFilter()
        filter.type = .establishment
        filter.country = "DE"
        autocompleteViewController.autocompleteFilter = filter
    }

    present(autocompleteViewController, animated: true, completion: nil)
}

enter image description here

+4
source share

Source: https://habr.com/ru/post/1688522/


All Articles