[英]swift weird tableview scroll behaviour from tableView header section
在viewDidLoad()
:
automaticallyAdjustsScrollViewInsets = false
您可以設置內容插圖。 像這樣:
tableView.contentInset = UIEdgeInsets(top: <#T##CGFloat#>, left: <#T##CGFloat#>, bottom: <#T##CGFloat#>, right: <#T##CGFloat#>)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.