Action sheet causes LayoutConstraints warning

Originator:mark
Number:rdar://49289931 Date Originated:03/26/2019
Status:Open Resolved:
Product:iOS + SDK Product Version:12.2
Classification:Bug Reproducible:Always
 
Area:
UIKit

Summary: Presenting a UIAlertController with style .actionSheet on an iPhone causes a LayoutConstraints warning to be logged.

Steps to Reproduce:
Run the attached sample project on an iPhone device or simulator.

Expected Results:
An action sheet should be displayed with no warnings.

Actual Results:
The following warning is logged and a UIViewAlertForUnsatisfiableConstraints breakpoint is triggered:
[LayoutConstraints] Unable to simultaneously satisfy constraints.
...
(
    "<NSLayoutConstraint:0x600001485a90 UIView:0x7fd59947db10.width == - 16   (active)>"
)

Version/Build:
iOS 12.2/16E227

Configuration/Notes:
This does not occur on iOS 12.1, new with 12.2.
Same warning with Objective-C and Swift 4.2

Comments

I can confirm this radar is still present on iOS 13

By giorgio.romano93 at Oct. 2, 2019, 1:40 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!