|
I'm running into this issue involving a The position of the content in the table view looks fine, until you push a new view controller onto the navigation stack and pop back to the root, where it looks like the contentOffset of the table view gets adjusted incorrectly. I am able to fix it by setting Relevant code:
|
|
How are you setting the search controller?
|
|
Here's the search controller code
|
|
|
|
|
|
|
|
|
|
|
|
Doesn't work for me, at least not on 12.9 inch devices: https://stackoverflow.com/questions/64063846/uisearchcontroller-as-navigationitem-obscures-content |
SAVE 50% All our books and bundles are half price for Black Friday, so you can take your Swift knowledge further without spending big! Get the Swift Power Pack to build your iOS career faster, get the Swift Platform Pack to builds apps for macOS, watchOS, and beyond, or get the Swift Plus Pack to learn advanced design patterns, testing skills, and more.
This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.
All interactions here are governed by our code of conduct.
Link copied to your pasteboard.