When using UITabBarItemAppearance .inline the tab item text gets truncated

Originator:hotngui
Number:rdar://FB9716091 Date Originated:10/20/2021
Status:Open Resolved:
Product:iOS Product Version:14
Classification:Bug Reproducible:yes
 
Basic information
Please provide a descriptive title for your feedback:
When using UITabBarItemAppearance .inline the tab item text gets truncated
Which area are you seeing an issue with?
Xcode
What type of feedback are you reporting?
Incorrect/Unexpected Behavior
Details
What version of Xcode are you using?
Xcode 12.5.1 and Xcode 13.1 RC
Description
Please describe the issue:
When I customize my tab bar by setting the UITabBarAppearance.inlineLayoutAppearance property to the object created via UITabBarItemAppearance(style: .inline) the text of the items gets truncated. See the attached screenshot.
Please list the steps you took to reproduce the issue:
See the code in ViewController.swift in the attached project
What did you expect to happen?
The tab item text should not be truncated
What actually happened?
The item text gets truncated

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!