从iOS中的GMSPlace获取开放时间

时间:2016-05-26 01:23:14

标签: ios google-places-api google-places gmsplace

有没有办法在iOS SDK中获得GMPlace的开放时间?

我只能找到不包含开放时间的/localhost/cvrest/WEB-INF/catalogos/myfile.xml,无论如何看起来都是错误的并且总是返回"未知" (参考:https://code.google.com/p/gmaps-api-issues/issues/detail?id=8160)。

寻找iOS是为了找到开放时间,而不是通过检索到的- (GMSPlacesOpenNowStatus) openNowStatus [read, assign] 向iOS发送GET请求。

1 个答案:

答案 0 :(得分:0)

Google Maps API仅返回以下信息:https://developers.google.com/maps/documentation/ios-sdk/reference/interface_g_m_s_place#properties

我查看了MapKit API并且它也没有返回任何类似的东西。

也许试试Google搜索API?我知道在进行google.com搜索时,在某些情况下您会收到该信息。 https://developers.google.com/custom-search/docs/xml_results#overview