UIControls

public struct UIControls
  • Don’t show any UI control to stop navigation or navigate away from the screen. Use this if you will provide your own UI for navigation

    Declaration

    Swift

    public static let none: DirectionsViewController.UIControls
  • Display a button in the top-left of the View.

    When navigation tracking is active this will display an “x”, and stop tracking when tapped. Otherwise, it will show a back arrow, and trigger the closeViewControllerHandler closure

    Declaration

    Swift

    public static let defaultControls: DirectionsViewController.UIControls