gpt4 book ai didi

ios - 在 UITableView 中隐藏部分分隔符

转载 作者:行者123 更新时间:2023-11-28 21:10:56 31 4
gpt4 key购买 nike

我用它来隐藏行之间的分隔符

self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;

但是,节标题顶部仍然有分隔符。我怎样才能隐藏它们?

最佳答案

尝试

self.tableView.separatorColor = UIColor.clear

它应该工作

关于ios - 在 UITableView 中隐藏部分分隔符,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43299893/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com