摆脱UITableView上方的行 [英] Get rid of line above UITableView
本文介绍了摆脱UITableView上方的行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个UITableView
(碰巧有一个UISearchBar
),似乎无法弄清楚如何摆脱上面的白色/灰色边框.我需要在UISearchBar
和它上面的黑色之间使用无缝的黑色.
I have a UITableView
(which happens to have a UISearchBar
) and can't seem to figure out how to get rid of the white/gray border above it. I need to have seamless black between the UISearchBar
and the black above it.
我尝试隐藏UISearchBar
以查看是否与它有关,但是该行仍然出现.
I have tried hiding the UISearchBar
to see if that had anything to do with it, but the line still appeared.
有什么想法吗?
推荐答案
这与我使用的pullToRefresh视图(使用SensibleTableView)有关-它在drawRect中有一些代码来画线.
This had to do with the pullToRefresh view I was using (using SensibleTableView) - it had some code in drawRect to draw the line.
这篇关于摆脱UITableView上方的行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文