[英]How do I get rid of the grey bar in UINavigationController (iOS app)
[英]UITableView with grey lines on the side when trying to add a background. How do you get rid of these lines?
您可以在表格的側面看到線條http://img267.imageshack.us/img267/7098/screenshot20100808at543.png
您如何擺脫桌子側面的這些線?
問題不在於線。
問題出在標簽的背景顏色上。
只需在cellForRowAtIndexPath
方法內將標簽(包含文本“ Item 1”,“ Item 2”等的標簽)的背景色設置為[UIColor clearColor]
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.