RouteControllertracks the user’s progress along a route, posting notifications as the user reaches significant points along the route. On every location update, the route controller evaluates the user’s location, determining whether the user remains on the route. If not, the route controller calculates a new route.
RouteControlleris responsible for the core navigation logic whereas
NavigationViewControlleris responsible for displaying a default drop-in navigation UI.
open class RouteController: NSObject