Skip to content

超级简单的选择地理位置控件 省市区三级联动

Notifications You must be signed in to change notification settings

h912545437/AreaPickerView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

488c225 · Oct 27, 2017

History

7 Commits
Oct 27, 2017
Oct 27, 2017
Oct 27, 2017
Oct 27, 2017
Oct 27, 2017
Oct 27, 2017

Repository files navigation

AreaPickerView

最简单的选择地理位置控件

使用方法

复制AreaPickerView文件夹到项目工程,确保文件夹里面内容被包含到target

选择三级地址

@IBAction func chooseBtnClick() {
    AreaPickView.showChooseCityView { (province, city, town) in
        self.areaLabel.text = province + " " + city + " " + town
        }

}

选择二级地址

@IBAction func chooseBtnClick() {
    AreaPickView.showChooseCityView { (province, city, town) in
        self.areaLabel.text = province + " " + city + " " + town
        }

}

About

超级简单的选择地理位置控件 省市区三级联动

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages