How to extract street, city, etc. from GMSPlace Address Components

后端 未结 10 1938
栀梦
栀梦 2021-02-20 02:51

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

10条回答
  •  野的像风
    2021-02-20 03:37

    I found this, I hope I help you

      let arrays : NSArray = place.addressComponents! as NSArray
            for i in 0..

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题