having the same issue as already posted (non of the answers works..), my table is a fixed width, and in iOS 10.x the searchbar (which is in the tableviewheader), stays the same size when typing. However in iOS 11, it jumps to the top of the screen and gets stretched out over the total width. All options tried;
self.definesPresentationContext = YES;
tableHeaderView.clipsToBounds = YES;
etc
but nothing seems to change.. it still jumps to the top full width..
Any other options?
Xcode 9 GM with iOS 11 (Xcode 9 GM with iOS 10.x and it all works fine)