有什么方法可以从 GMSPlace 对象获取图像 url?例如,如果 GMSPlace 代表一家餐厅,那么有什么办法可以通过 google api 获取该餐厅的图像吗?或者 Google 提供的任何其他服务吗?
最佳答案
现在这是可能的;看这里:
https://developers.google.com/places/ios-api/photos
如果您需要,还有其他版本的 loadPlacePhoto,其参数比此处显示的更多:
https://developers.google.com/places/ios-api/reference/interface_g_m_s_places_client
关于ios - 从 GMSPlace 获取图像 url,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34357080/