UINavigationBar turns white and won't close when using navigationItem.searchController in iOS 13
问题 I am having trouble using navigationItem.searchController in iOS 13. The search bar of the search controller is initially closed, but it won't collapse back after I scroll the table view. It 'bounces' back when I try to hide the bar. Also, the navigation bar turns white after the search bar appears. (The navigation bar has a custom tint color; see the attached screenshots.) Note that this wasn't the case in iOS < 13. Is this a bug in iOS 13? If it is, is there a work around to keep the tint