Search Field Text Disappears

Originator:nathan.chiu
Number:rdar://34599429 Date Originated:9/22/2017
Status:Closed Resolved:Yes
Product:tvOS Product Version:11
Classification:UI/Usability Reproducible:Always
 
Area:
Search

Summary: 
Under a specific combination of conditions, the search bar input text does not appear in the search field.

Steps to Reproduce: 
1) Set the project's User Interface Style to Dark (works correctly when set to Light or Automatic)
2) Set the search bar's keyboardAppearance to .default (works correctly when not set or set to .light or .dark)
3) Set a custom image with setSearchFieldBackgroundImage (works correctly when not set)
4) Run the app on tvOS 11 (works correctly on tvOS 10.1, 10.2)

Expected Results:
The input text should appear in the search field.

Actual Results:
The input text does not appear in the search field, but it does appear in the view debugger. Note- the search results are still updated with the input string even though the text is not presented on screen.

Version/Build:
Apps were built using both Xocde 8.3.3 and Xcode 9

Configuration:
Apple TV (both 32GB and 64GB), tvOS 11

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!