UITableView scroll position wonky when combined with a UISearchController and UINavigationBar

       edgesForExtendedLayout = .top // view content的佈局大小 (p.s. top表示只延伸上面的部分(ex: navigation bar區塊))

        extendedLayoutIncludesOpaqueBars = true // 避免view content的y原點因為opaque bar往下調整

https://www.hackingwithswift.com/forums/ios/uitableview-scroll-position-wonky-when-combined-with-a-uisearchcontroller-and-uinavigationbar/475

https://franksios.medium.com/ios-uiviewcontroller%E7%9A%84%E5%B1%AC%E6%80%A7edgesforextendedlayout-9461c7f8750e

%d 位部落客按了讚: