added the iOS 6 compatibility for direction navigation in MapView