错误的写法

_checkinLocation.coordinate.longitude = 26.876812;

_checkinLocation.coordinate.longitude = 100.22569199999998;

 

正确的写法

 float latitude = 26.876812;   

 float longitude = 100.22569199999998//这里可以是任意的经纬度值  

 CLLocation *_checkinLocation= [[[CLLocation alloc] initWithLatitude:latitude longitude:longitude] autorelease]; 

相关文章:

  • 2021-12-05
  • 2021-11-17
  • 2021-07-04
  • 2022-02-07
  • 2022-12-23
  • 2021-06-12
  • 2022-02-07
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-23
  • 2022-03-08
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案