
[英]Scrolling to bottom of UITableView (UITableView is in a UITableViewCell)
[英]UITableViewCell Indented in UITableView
UITableViewCell 自己缩进,即使我已经设置,
tableView.translatesAutoresizingMaskIntoConstraints = false
tableView.layoutMargins = UIEdgeInsets.zero
tableView.contentInset = UIEdgeInsets.zero
我的视图控制器从垂直自动旋转到水平,因此会自动应用安全区域,因此您需要设置,
tableView.insetsContentViewsToSafeArea = false。
希望这可以节省您一些时间。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.