if (self.lbsArray) {
[table reloadData];
// UIView *footer = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 1, 45)];
// footer.backgroundColor = [UIColor clearColor];
// table.tableFooterView = footer;
CGRect tableFrame = table.frame;
tableFrame.size.height = table.contentSize.height;
table.frame = tableFrame;
CGSize scrollViewContentSize = CGSizeMake(320,
table.frame.origin.y+table.contentSize.height );
[self.scroll setContentSize:scrollViewContentSize];
CGRect lineframe = [_line frame];
[_line setFrame:CGRectMake(lineframe.origin.x,
lineframe.origin.y,
lineframe.size.width,
table.contentSize.height)];
}
沒有留言:
發佈留言