Hi. i have a view controller that uses the getDistance method for calculating the distance between two points. My problem is that starting from iPhone SDK 3.2, the method is deprecated and distanceFrom method is effective. Now i want to build a code that works for both the sdks. How do i do it? One possible solution is to go for responds to selector method and then write accordingly. But i want to know if there is any other alternative.
getDistanceFrom //deprecated after 3.2