I’m creating an app that has a UIBarButtonItem with a UIMenu.
Is there any way to customize menu entries to show horizontally and put text under the icon? I tried to read the Apple documents but I couldn’t find the way.
The iOS Notes app has a similar menu (Scan, Pin, Lock):
If you know how to do this, please help.

To make a
UIMenulook like the one in your screenshot where there are three buttons in the first row, change your menu'spreferredElementSizetoUIMenu.ElementSize.medium. Note thatpreferredElementSizeis only available in iOS 16.0+.