Instance Method インスタンスメソッド

supportedFamilies(_:)

Sets the sizes that a widget supports.

Declaration 宣言

func supportedFamilies(_ families: [WidgetFamily]) -> some WidgetConfiguration

Return Value 戻り値

A widget configuration that supports the sizes you specify.

Parameters パラメータ

families

The set of sizes the widget supports.