2013-12-13 27 views
0

我綁定將我的UITableView的Seperator樣式設置爲SingleLineEtched,但它沒有工作。首先,我試圖將其設置爲我的界面生成器,你可以看到我設置表格樣式「分組」:將TableView SeperatorStyle設置爲SingleLineEtched不工作

enter image description here

但後來我TableView不顯示任何單獨Lines..nothing .. .. 所以我嘗試了編程:

[self.tableView setSeparatorStyle:UITableViewCellSeparatorStyleSingleLineEtched]; 
self.tableView.backgroundColor = [UIColor grayColor]; 

但也鴕鳥政策工作。 一些想法我做錯了什麼?

+0

你是什麼背景顏色?白色? – brianLikeApple

+0

http://stackoverflow.com/questions/7652019/uitableview-separator-style-single-line-etched-not-working-properly – suhit

回答

0

嘗試在設備使用它,按本post這裏的問題在iPhone模擬器本身打下

+0

謝謝,但我只使用我的設備,所以不能成爲問題。 – Davis