UISearchController does not honor UIUserInterfaceStyle.dark when presented

Originator:hotngui
Number:rdar://30466247 Date Originated:2/10/2017
Status:Closed Resolved:Fixed
Product:tvOS Product Version:10.1
Classification:UI/Usability Reproducible:Yes
 
Area:
TV App

Summary:
When first presented the UISearchController does not honor the current setting of the User Interface Style set by the user. 

If the user changes the value from dark -> light -> dark while the controller is still visible *then* the controller correctly draws itself for dark mode.

Steps to Reproduce:
1. Uncompress, build the attached project, and run the app 
2. Make sure the TV is in "dark" mode
3. Focus and select the single button in the center of the screen
4. Observe that the UISearchController presented is not honoring the mode

Expected Results:
UISearchController should be presented in dark mode to honor the user setting

Actual Results:
UISearchController always presents in "light" mode.

Version:
tvOS 10.1 Simulator

Notes:


Configuration:
tvOS Simulator 10.1

Attachments:
'TestTVDark.zip' was successfully uploaded.

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!