UITabBar layout is broken when using additionalSafeAreaInsets on iOS 12.1

Originator:gspiers
Number:rdar://45189495 Date Originated:11/10/2018
Status:Closed (dup of 44573417) Resolved:
Product:UIKit Product Version:iOS 12.1 Beta 3
Classification:Bug Reproducible:Always
 
Area:
UIKit

Summary:

UITabBar lays out it's buttons incorrectly if the UIViewController it's contained in has additionalSafeAreaInsets set.

Steps to Reproduce:

1. Run sample project on iOS 12.1.
2. Observe misplaced button frames (and buttons do not work).

Expected Results:

UITabBar should lay out it's buttons correctly when using additionalSafeAreaInsets.

Actual Results:

Layout is unusable.

Version/Build:

iOS 12.1 Beta 3
Xcode Version 10.1 beta 2 (10O35n)

Configuration:

Compiled on High Sierra

Sample project:
https://github.com/gspiers/radar_45189495

Comments

Bug still exists on 12.1.1 Beta 3

By mario.hahn at Nov. 19, 2018, 3:16 p.m. (reply...)

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!