Instance Property

locale

The current locale that views should use.

Declaration

var locale: Locale { get set }

See Also

Accessing View Settings

var calendar: Calendar

The current calendar that views should use when handling dates.

var editMode: Binding<EditMode>?

The mode indicating whether the user can edit the contents of a view associated with this environment.

enum EditMode

The mode of a view indicating whether the user can edit its content.

var isEnabled: Bool

A Boolean value that indicates whether the view associated with this environment allows user interaction.

var presentationMode: Binding<PresentationMode>

A binding to the current presentation mode of the view associated with this environment.

var timeZone: TimeZone

The current time zone that views should use when handling dates.