The doc needs updating to specify that UIStepper, UIPickerView, and UIRefreshView (and, by extension, controls that implement them in MAUI) won't work in the Mac Catalyst Desktop Idiom if you enable it.
The complete list of controls that throw exceptions in the Mac idiom are:
UIStepper throws an exception when this control is added to a Mac idiom view.
UIRefreshControl throws an exception when this control is added to a Mac idiom
view.
UIPickerView throws an exception when this control is added to a Mac idiom view.
In addition:
UIButton. addGestureRecognizer:) throws an exception if the button uses the macOS appearance. setTitle:for:) and setImage:for:) throws an exception for any state except UIControlStateNormal.
UISlider. setThumbImage(:for:), thumbTintColor, setMinimumTrack Image(:for:), minimumTrackTintColor, setMaximumTrackImage_:for:), maximumTrackTintColor, minimumValueImage, and maximumValue
Image all throw an exception.
UISwitch throws an exception when title is set in a non-Mac idiom view.
Type of issue
Missing information
Description
The doc needs updating to specify that
UIStepper
,UIPickerView
, andUIRefreshView
(and, by extension, controls that implement them in MAUI) won't work in the Mac Catalyst Desktop Idiom if you enable it.More info: https://github.com/dotnet/maui/issues/19354
Page URL
https://learn.microsoft.com/en-gb/dotnet/maui/mac-catalyst/user-interface-idiom?view=net-maui-8.0
Content source URL
https://github.com/dotnet/docs-maui/blob/main/docs/mac-catalyst/user-interface-idiom.md
Document Version Independent Id
3310bb67-e85a-ff20-c9c3-cd11b905004f
Article author
@davidbritch
Metadata
Associated WorkItem - 192825