Contents

openAppWhenRun

A boolean property that tells the system to consider the app intent even if its app is not in the foreground.

Declaration

static var openAppWhenRun: Bool { get }

Mentioned in

Discussion

This property is deprecated, use supportedModes instead. For backward compatibility, provide openAppWhenRun in an extension, for example:

@available(*, deprecated)
extension OrderSoupIntent {
    static var openAppWhenRun: Bool { true }
}

See Also

Configuring the metadata