Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MKDirections *yourDirections = ...;
- [yourDirections calculateETAWithCompletionHandler:^(MKETAResponse *response, NSError *error)
- {
- NSTimeInterval estimatedTravelTimeInSeconds = response.expectedTravelTime;
- ...
- }];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement