The UIKit's default input menu offers functionalities such as taking photos, recording videos, accessing the photo library, and selecting files. To customize the input menu, redefine the menu's click events as shown below.
The fragment's builder provides an interface to listen for the click event. You can set it up in the UIKit by creating a fragment through builder.
By default, when the input menu button is clicked, the
showMediaSelectDialog method is called. You can override this function and set up a custom menu action.
For an in-depth practical demonstration, see our sample code.