How to extract street, city, etc. from GMSPlace Address Components
问题 I'm using Google Places API for iOS and can successfully retrieve nearby places and present the address as a string. What I'm trying to do is extract address components such as city to store in a database. The documentation indicates a GMSPlace has an addressComponents property (an array), but I can't seem to figure how to use this property. The code below provides sets the entire address to the text of a label, but I can't get beyond that: Edit ---- added code that shows how I'm trying to