One Logo Pool Ball
WidgetKit · IOS API REFERENCE

ControlInfo

struct · iOS 18.0+ · SDK 27.1

struct ControlInfo

A structure that contains information about user-configured controls.

Members (4)

get · iOS 18.0+

pushInfo

TypeScript
get pushInfo(): (ControlPushInfo) | null
Swift declaration
var pushInfo: ControlPushInfo?

Push information about a control, if present.

set · iOS 18.0+

pushInfo

TypeScript
set pushInfo(value: (ControlPushInfo) | null)
Swift declaration
var pushInfo: ControlPushInfo?

Push information about a control, if present.

get · iOS 18.0+

id

TypeScript
get id(): string
Swift declaration
var id: String { get }

The stable identity of the control.

get · iOS 18.0+

kind

TypeScript
get kind(): string
Swift declaration
let kind: String

The string specified during creation of the control's configuration.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

ControlInfo.configurationIntent(of:)

This declaration needs Swift generic type arguments. (no canonical witness for Intent)

All WidgetKit types →