UIBarButtonItem alignment in UIToolbar on iOS 26 in UIDesignRequiresCompatibility mode

The screenshot is showing the same app deployed using Xcode version 26.0 beta 4 (17A5285i) on iOS 18.5 and on iOS 26.0.

In iOS 26 beta 4 on the right the spacing of the UIBarButtonItem elements does not look good:

The buttons are created like so:

colorButtonText = [[UIBarButtonItem alloc] initWithImage:[UIImage systemImageNamed:@"paintbrush"] style:UIBarButtonItemStylePlain target:self action:@selector(drawingActionColor:)];
//...
[drawingToolbarText setItems:@[colorButtonText, ...]];

Is this a known issue with the current iOS 26? Am I doing something wrong?

UIBarButtonItem alignment in UIToolbar on iOS 26 in UIDesignRequiresCompatibility mode
 
 
Q