标签: ios swift core-location
我导入CoreLocation,然后在locationManager.delegate = self和didFinishLaunchingWithOptions中添加let locationManager = CLLocationManager()。
CoreLocation
locationManager.delegate = self
didFinishLaunchingWithOptions
let locationManager = CLLocationManager()
但我在AppDelegate中遇到此错误。我错了什么?
答案 0 :(得分:13)