GooglePlaces Framework Reference

  • GMSFetchPhotoRequest objects are used with GMSPlacesClient to retrieve photos for places.

  • The designated initializer, initWithPhotoMetadata:maxSize:, allows specifying the photo metadata and the desired maximum size for the image.

  • The photoMetadata parameter provides details about the photo being requested.

  • The maxSize parameter determines the maximum dimensions of the returned image, ensuring it's scaled appropriately while preserving its aspect ratio.

  • The default initializer, init, is unavailable; use the designated initializer instead.

GMSFetchPhotoRequest

Deprecated

This class is deprecated, please use the Place Details component (https://developers.google.com/maps/documentation/places/ios-sdk/place-details-ui-kit) instead.


@interface GMSFetchPhotoRequest : NSObject

Request object to use with GMSPlacesClient to fetch a photo.