An object for customizing the appearance of bar button items.
Mac Catalyst 13.0+
Use a UIBarButtonItemAppearance object to customize the appearance of a bar button item in each of its possible states. You can customize the appearance differently for different states. For example, you might apply different colors to the button's title in the normal and highlighted states.