I have an iOS app that uses GooglePlaces API. I use the "Add a Results Controller" technique to implement the search bar, but instead of assigning the searcher to the navigationItem.titleview like so:
navigationItem.titleView = searchController?.searchBar
I assign the searchController to the navigationItem.searchController like this:
navigationItem.searchController = searchController
This has worked for me up until iOS 12.4. I don't like the way it looks when the searcher is in the titleView.
Now in iOS 13.x this results in duplicated title text which can be seen in the attached images.
This duplicate appears when the search bar has been activated then Cancelled or when the focus moves to another control. When you pull down on the underlying table, you can see the duplicate in the live app.
It also causes the Search page title to bleed through when you navigate to the detail page. I don't know if this is a GooglePLaces API issue or an iOS 13 issue, but it causes my app to be rejected from the app store.
If anybody has seen this behavior please let me know. i have a sample project that shows the behavior.