Action sheet causes LayoutConstraints warning

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

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)>"

iOS 12.2/16E227

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


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 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!