Skip to content

Commit

Permalink
Fixed outdated method name in CarPlay example
Browse files Browse the repository at this point in the history
This fixes a build error in the CarPlay example application.
  • Loading branch information
1ec5 committed Nov 22, 2018
1 parent f12268b commit cc255c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Example/AppDelegate+CarPlay.swift
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ extension AppDelegate: CPListTemplateDelegate {
// Selected a favorite
if let userInfo = item.userInfo as? [String: Any],
let waypoint = userInfo[CarPlayManager.CarPlayWaypointKey] as? Waypoint {
carPlayManager.preview(waypoints: [waypoint], completionHandler: completionHandler)
carPlayManager.previewRoutes(between: [waypoint], completionHandler: completionHandler)
return
}

Expand Down

0 comments on commit cc255c4

Please sign in to comment.