【发布时间】:2017-01-29 02:17:47
【问题描述】:
正在努力将其转换为 Swift 3。您能帮忙吗?
dispatch_async(dispatch_get_main_queue()) { () -> Void in
self.delegate.locationDidUpdateToLocation(self.currentLocation!)
NSNotificationCenter.defaultCenter().postNotificationName(kLocationDidChangeNotification, object: self, userInfo: userInfo as [NSObject : AnyObject])
}
非常感谢!
【问题讨论】: