I'm seeing various UISearchController/UISearchBar bugs too. One example: on iPhone (and only on iPhone) setting searchBar.searchTextField.backgroundColor has no effect. If I wrap the set in a Task it works — until the search field scrolls out of view and back in. Then it once again has the wrong background color.
Furthermore, if I use something like .integratedButton for my searchBarPlacement I'm seeing a lot of animation stutters when the search bar button item morphs from a button into a field and, later, from a field to a button. It's a nice idea, but a poor implementation.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: