Saturday, 15 January 2011

ios - Styling separator of table view cells -



ios - Styling separator of table view cells -

i have next code in willdisplaycell function

//bottom border uiview* bottomborderview = [[uiview alloc] initwithframe:cgrectmake(0, cell.frame.size.height-1, cell.frame.size.width, 1)];/// alter size need. bottomborderview.backgroundcolor = [uicolor colorwithpatternimage:[uiimage imagenamed:@"dot.png"]];// can set image here [cell.contentview addsubview:bottomborderview];

it worked fine in ios7, ever since updated xcode , started testing app on ios8 borders have been displaying incorrectly. cant figure out changed causing issue. problem seems worse more scroll.

ios xcode uitableview

No comments:

Post a Comment