CLLocationCoordinate2D can't be instantiated

后端 未结 2 1623
春和景丽
春和景丽 2021-01-20 18:01

I am trying to create some "CLLocation"s from data that I\'ve read from a file. The first step is to instantiate a "CLLocationCoordinate2D" to be fed int

相关标签:
2条回答
  • 2021-01-20 18:56

    Just happened to me. Try to replace import CoreLocation with import MapKit that's worked in me case.

    0 讨论(0)
  • 2021-01-20 19:00

    Frankenstein was right - it must be an Xcode bug. I put the same code in a "real" program and no problem.

    0 讨论(0)
提交回复
热议问题