【文件属性】:
文件名称:Where-Am-I:MapKit 使用
文件大小:17KB
文件格式:ZIP
更新时间:2021-06-28 16:59:45
Swift
我在哪里
将位置转换为美国地址格式
func locationManager(manager: CLLocationManager!, didUpdateLocations locations: [AnyObject]!) {
var usrLocation:CLLocation = locations[0] as CLLocation
...
// Convert to address
CLGeocoder().reverseGeocodeLocation(usrLocation, completionHandler:{(placemarks, error) in
if error != nil {
println(error)
} else {
// C
【文件预览】:
Where-Am-I-master
----README.md(2KB)
----Where Am ITests()
--------Where_Am_ITests.swift(903B)
--------Info.plist(747B)
----Where Am I()
--------AppDelegate.swift(2KB)
--------Base.lproj()
--------Images.xcassets()
--------Info.plist(1KB)
--------ViewController.swift(3KB)
----Where Am I.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(16KB)
--------xcuserdata()