[英]How to correct the tableview section header frame according to the orientation / UITableView width
[英]TableView - Header and section are not correct
這是因為默認情況下,表視圖clipsToBounds
為false,這意味着它將在表視圖范圍之外呈現。
一個解法:
tableView.clipsToBounds = true
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.