Presenting a UIAlertController over a modally presented UIViewController does not correctly update the tintAdjustmentMode of the view controller

Originator:ben.packard
Number:rdar://51354714 Date Originated:6/3/19
Status: Resolved:
Product:iOS Product Version:12.3.1
Classification:UIKit Reproducible:Yes
 
Area:
UIKit

Summary:

When a view controller presents a UIAlertController, the view controller's view ordinarily dims any controls (buttons, etc) via the tintAdjustmentMode being set to .dimmed.

If the view controller has been modally presented, this does not happen.

Steps to Reproduce:

1. Present a view controller modally. The view controller should include some tinted control, for example a button.
2. Present a UIAlertController from the modally presented view controller.

Expected Results:

The button is dimmed when the alert controller is presented.

Actual Results:

The button is not dimmed.

Version/Build:

iOS 12.3.1, Xcode 10

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!