The elevation level of the interface.
- iOS 13.0+
- Mac Catalyst 13.0+
Levels create a visual separation between different parts of your UI. Window content typically appears at the
UIUser level. When you want parts of your UI to stand out from the underlying background, assign the
UIUser level to them. For example, the system assigns the
UIUser level to alerts and popovers.