Search Bar in a Navigation Item collapses and gets stuck under status bar upon navigation pop, on iOS 11
问题 I am using the new iOS 11 searchContoller property of a UINavigationItem . I am running iOS 11.0 GM build. When I perform a push segue whilst the search controller is active, it works fine. When I subsequently pop back, the search bar is collapsed and squashed up in the status bar. I cannot then cancel the search, or edit the search text. See the following sequence of images: The final image is showing the appearing of the table during the pop segue to return from a presented view controller