ios - UITableViewCell hidden content overlaps on other cells -
i have table,with settings cell height 40px. if cells have label, image or other component starting @ 41px still appear in table overlaping cells underneath. how resolve this? not want rest of cell shown, height set in table settings.
thank you.
please add these methods , try,
-(float)tableview:(uitableview*)tableview heightforfooterinsection:(nsinteger)section { return 0.01; } - (uiview *)tableview:(uitableview *)tableview viewforfooterinsection:(nsinteger)section { uiview *view = [[[uiview alloc] initwithframe:cgrectmake(0, 0, tableview.frame.size.width, 1)] autorelease]; view.backgroundcolor = [uicolor clearcolor]; return view; } using considered end of data data source. , rest cells not displayed.
[will solve issue - if cells have label, image or other component starting @ 41px still appear in table overlaping cells underneath]
Comments
Post a Comment