objective c - UITableView bottom separator inset - Strange behaviour in IOS 7 -
my app contains uitableview
has section footers. when user scrolls bottom of tableview, separator inset appears between last cell , tablefooter. behaviour inconsistent.
is there way force separator appear or never appear? did of noticed same inconsistent behaviour? seems bug me.
edit
i'm using
- (uiview *)tableview:(uitableview *)tableview viewforfooterinsection:(nsinteger)section { uilabel *footer = [[uilabel alloc] init]; footer.backgroundcolor = [uicolor whitecolor]; footer.font = [footer.font fontwithsize:15]; footer.textalignment = nstextalignmentcenter; return footer; }
but reproduce same problem using
- (nsstring *)tableview:(uitableview *)tableview titleforfooterinsection:(nsinteger)section;
to you'll have override standard uiview
used footer.
you can overriding delegate method -(uiview *)tableview:(uitableview *)tableview viewforfooterinsection:(nsinteger)section
.
-(uiview *)tableview:(uitableview *)tableview viewforfooterinsection:(nsinteger)section { uiview *myfooterview; // create view label , without line @ top etc... return myfooterview; }
Comments
Post a Comment