CLLocation distanceFromLocation

前端 未结 2 1495
悲哀的现实
悲哀的现实 2021-02-10 23:44

I am using CLLocation to work out the distance from the current user location, and an annotation. However I just wanted to know if this would be correct. I am currently using iP

2条回答
  •  日久生厌
    2021-02-11 00:32

    Try @"%f" and don't cast it that way.

    In CLLocation.h

    typedef double CLLocationDistance;
    

提交回复
热议问题