Post #2282306
2026-02-04 09:51 UTC
Setting `contentInsetAdjustmentBehavior = .never` fixes the tap issue, but it also puts the table view content under the top safe area (under the navbar). So now I’m looking into implementing this manually instead. Sigh!
Replies (1)
-
@vrutberg@masto.nu 2026-02-04 10:14
It seems like I finally found a working solution after a lot of back and forth with Codex. It just gave me different solutions that were broken in one way or another, before I eventually gave up and came up with a solution for myself (yay! AI! 😒). 1. Set tableView.contentInset to view.safeAreaInset in viewSafeAreaInsetsDidChange 2. Set tableView.contentOffset once in viewDidLayoutSubviews