what is uiaction

Asked on 08/04/2024

1 search

UIAction is a part of the UIKit framework that allows you to define actions that can be invoked by the system to control apps. These actions can be used in various contexts, such as menu actions in the macOS menu bar, iPadOS and visionOS keyboard shortcut menus, and iPhone mirroring scenarios. UIAction, along with UICommand and UIKeyCommand, helps in making your app's commands accessible through different system invocations.

For more details, you can refer to the session What’s new in UIKit (18:14).