MapKit Annotations and User location

Posted by teddafan on Stack Overflow See other posts from Stack Overflow or by teddafan
Published on 2010-05-08T18:06:54Z Indexed on 2010/05/08 18:08 UTC
Read the original article Hit count: 354

Filed under:
|
|
|

Hi all,

I followed this tutorial to make my first app: http://icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/

I would really like to know how to sort the annotations in the Table in order of distance to the user (the nearest annotation is the first one on the table) How is it possible to do that?

I understand that I must use the CLLocation to find the user's location but then I have no idea.

Could any one help me?

Cheers,

Thank you in advance for your much appreciated help,

teddafan

© Stack Overflow or respective owner

Related posts about iphone

Related posts about mapkit