|
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 |
SPONSORED Join a FREE crash course for mid/senior iOS devs who want to achieve an expert level of technical and practical skills – it’s the fast track to being a complete senior developer! Hurry up because it'll be available only until February 9th.
Sponsor Hacking with Swift and reach the world's largest Swift community!
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.