SpeedLimitView

public struct SpeedLimitView : View

A view that displays the current speed limit and the user’s current speed.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Initializes a new instance of SpeedLimitView.

    Declaration

    Swift

    public init(viewModel: SpeedLimitViewModel)

    Parameters

    viewModel

    The view model that provides the data for the view.

  • The content and behavior of the view.

    Declaration

    Swift

    public var body: some View { get }