New visionOS widget size

I asked this elsewhere in the forums and haven't gotten a response, but in one of the WWDC word clouds I saw the label "Extra-small widget option in visionOS", but looking at the WidgetFamily it doesn't look like there is any new size that has been opened up for 27.

Is this a new size to be supported or something else entirely?

Answered by Engineer in 893394022

The new sizes on visionOS will be .accessoryCircular and .accessoryRectangular. https://developer.apple.com/documentation/widgetkit/widgetfamily.

They're currently unavailable in the visionOS SDK, but will become available in a future seed. If your app is an iOS compatible app (built with the iOS SDK but running on the Vision Pro), those sizes should already be available in visionOS 27.

The new sizes on visionOS will be .accessoryCircular and .accessoryRectangular. https://developer.apple.com/documentation/widgetkit/widgetfamily.

They're currently unavailable in the visionOS SDK, but will become available in a future seed. If your app is an iOS compatible app (built with the iOS SDK but running on the Vision Pro), those sizes should already be available in visionOS 27.

We have a visionOS specific app build which would explain why we aren't seeing them yet.

Is there any recommendations on how those sizes would need to be different on visionOS or are the versions that we currently have showing up on the iOS lock screen and watch be sufficient?

On iOS lock screen, accessory family widgets are rendered in .vibrant mode.

On watchOS, accessory widgets can be rendered in .fullCollor and .accented.

On visionOS, these widgets will be more similar to watchOS, where they are rendered in .fullColor and .accented (like other system family widgets on visionOS).

If your widget works well currently on iOS and watchOS, I expect it should work well on visionOS as well.

New visionOS widget size
 
 
Q