I am creating tableview with row height 100, between each row i want a 5 pixels gap. For that for each row i am adding uiview(width:320px, hight:1px) at row's 95th 'y' position . Now everything is going fine. But when i select the cell the rows selectedbackgroundview covering entire row i. But i want to set rows selectedbackgroundview height as 95.
i tried following way in cellForRowAtIndexPath
but no use, please help me out.
cell.selectedBackgroundView.frame = CGRectMake (0, 0, 320, 95);