Contents

environment

Environment values that describe the current state of the system.

Declaration

@MainActor @preconcurrency var environment: EnvironmentValues { get }

Discussion

Use the environment values to configure the state of your UIKit view controller when creating or updating it.