Sets the items on the toolbar by animating the changes.
- iOS 2.0+
- Mac Catalyst 13.0+
The items to display on the toolbar.
A Boolean value if set to
trueanimates the transition to the items; otherwise, does not.
true, the changes are dissolved or the reordering is animated—for example, removed items fade out and new items fade in. This method also adjusts the spacing between items.