It's possible to determine at runtime which user interface idiom your. For example, if your app uses images sized for iPad or has hard-coded sizes, you may need to update your app to accommodate the size differences. Therefore, to use it you'll need to set the SupportedOSPlatformVersion in your project file to at least 14.0, which is the Mac Catalyst version equivalent of macOS 11.0.Īdopting the Mac user interface idiom may require you to make additional changes to your app. The Mac user interface idiom requires macOS 11.0+. To do this, update your app's ist file to specify 6 as the value of the UIDeviceFamily key: UIDeviceFamily You might discover that adopting the Mac user interface idiom enhances the user experience of your app. If this is your desired behavior, ensure that the app's ist file only specifies 2 as the value of the UIDeviceFamily key: UIDeviceFamily NET MAUI Mac Catalyst apps use the iPad user interface idiom. For example, a UIButton appears identical to an NSButton.īy default. Some controls change their size and appearance, and interacting with them feels identical to interacting with AppKit controls. The Mac user interface idiom doesn't scale the app's user interface to match the Mac display environment.
0 Comments
Leave a Reply. |