views:

20

answers:

1

Hi

I need to place small gap between UITableViewCell, is there way that I can archive this?

thanks Regards sam.

+1  A: 

In UITableView you have 2 properties : separatorStyle and separatorColor, but maybe it is not enough for you.

Then you need to implement them by yourself : If your TableView has for example 12 cells you can use 12*2-1 cells (-1 because we don't need separator for the first cell) where odd number (starting from 0) will be your custom separator, with custom height, color or images like you would like but you have to do that by yourself.

0 => cell
1 => Separator
2 => cell
3 => Separator
4 => cell
...

I hope this will help you.

William Remacle
What would this separator be and how would you set it? Would it be a custom cell?
Stelian Iancu
What you want in fact...
William Remacle