0
我正在放置一個uitableview,並且我希望將每一行分成左和右。有點像這樣:http://blog.danilocampos.com/wp-content/uploads/2009/01/photo.jpgiPhone - UITableView左右對齊
有人可以解釋如何做到這一點?
謝謝。
我正在放置一個uitableview,並且我希望將每一行分成左和右。有點像這樣:http://blog.danilocampos.com/wp-content/uploads/2009/01/photo.jpgiPhone - UITableView左右對齊
有人可以解釋如何做到這一點?
謝謝。
您將需要使用UITableViewCellStyleValue1
樣式構建的單元格。
您可以創建種類的細胞是這樣的:
UITableViewCell *cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyle1 reuseIdentifier:cellIdenfitierString];
從那裏你可以得到電池的textLabel
和detailTextLabel
性能並根據需要調整字體大小等。