


3张图片
作者
描述
LocationPickerViewController 是 UIViewController 的子类,允许用户通过搜索或选择地图上的位置来进行选择。它旨在作为 UIImagePickerController 一样工作。
用户可以通过搜索或在地图上长按来选择位置。在这两种情况下,您都将接收到 CLPlacemark 对象,其中包含位置坐标以及国家、州、城市、街道地址和 POI 名称等更多信息。
3张图片
LocationPickerViewController 是 UIViewController 的子类,允许用户通过搜索或选择地图上的位置来进行选择。它旨在作为 UIImagePickerController 一样工作。
用户可以通过搜索或在地图上长按来选择位置。在这两种情况下,您都将接收到 CLPlacemark 对象,其中包含位置坐标以及国家、州、城市、街道地址和 POI 名称等更多信息。