What's New / App Intents & System Integration

What's new in WidgetKit

+2 NewiOS · macOS

WidgetKit is Apple's framework for building widgets for the home screen, lock screen, and Dynamic Island. Its API covers timeline-driven content and the widget family layouts the system renders.

The 27 SDK adds 2 APIs with no deprecations or removals. WidgetFamily gains a systemExtraLargePortrait case for a portrait extra-large layout. EnvironmentValues adds isDynamicIslandLimitedInWidth, which reports when a Dynamic Island presentation is width-constrained.

New

2
var

EnvironmentValues.isDynamicIslandLimitedInWidth

NewiOS
public var isDynamicIslandLimitedInWidth: Bool { get }

A Boolean value that indicates whether the Dynamic Island view displays with a limited width.

This applies to compactLeading, compactTrailing, and minimal Live Activity DynamicIsland views.

case

WidgetFamily.systemExtraLargePortrait

NewiOSmacOS
case systemExtraLargePortrait

An extra-large widget that uses a portrait orientation.

The systemExtraLargePortrait widget family can appear on the Home Screen on iOS, on the Today View on iOS and iPadOS, on the Desktop on macOS, and on visionOS. This extra-large widget appears in a portrait orientation, similar to the systemExtraLargePortrait widget of a visionOS app.

No APIs match your filter.

← More in App Intents & System Integration