|
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 |
TAKE YOUR SKILLS TO THE NEXT LEVEL If you like Hacking with Swift, you'll love Hacking with Swift+ – it's my premium service where you can learn advanced Swift and SwiftUI, functional programming, algorithms, and more. Plus it comes with stacks of benefits, including monthly live streams, downloadable projects, a 20% discount on all books, and more!
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.