UItableview 分隔线的高度 [英] UItableview Separator line's height

查看:35
本文介绍了UItableview 分隔线的高度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以调整UITableview的分隔线的高度吗?我在单元格中添加 UIView 用作分隔线,它很好,问题是当我滑动单元格删除它时,删除按钮是问题,它与分隔线重叠,或者可以我调整删除按钮的高度?

Can I adjust the height of the UITableview's separator line? I add UIView at the cell to use as separator line and its good, the problem is that when I slide the cell to delete it, the delete button is the problem, its overlapping the separator line, or can I adjust the delete button's height?

推荐答案

如果无法调整删除按钮的大小,请调整底部 UIView 的大小,使其与删除按钮重叠.

If you can't resize the delete button, resize your bottom UIView so it can overlap the delete button.

这篇关于UItableview 分隔线的高度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆