Distance between rows in UITableView?

(CGFloat)tableView:(UITableView *)atableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {return 20;} Implement this function in your m. -File. The value which is returned by this function consist of the height of the rows (px).

No.. heightForRowAtIndexPath makes a row larger with his Height.. I don't mean that. I mean the distance between 2 rows not the height of the row it self – Emre Akman Aug 17 at 15:00 ok, but then your example sketch is not so clear. There is a default border between two rows and I guess you cannot change this attribute.

I never saw this. But you could create an empty ghost row, if I understand you right? – Malte O.

Aug 17 at 15:03 Yes sorry my bad it wasnt that clear, hmmmm ill check how the outcome will be with a ghost row and changing the attributes of the border – Emre Akman Aug 17 at 15:05 I am not sure I understand what you are trying to achieve here. If you simply want extra space between your rows, you can take off the border of the cell and create a custom cell with extra white space and/or extra lines. – Magic Bullet Dave Aug 17 at 15:16.

You can set the rowHeight property of the UITableView.

If you have a UITableView filled with for example 3 rows. How can I make this? How can I change the distance between rows in a UITableView.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions