Showing posts with label Separator. Show all posts
Showing posts with label Separator. Show all posts
Wednesday, 5 March 2014
How to add separator line to UITableView Section
UITableViewHeaderFooterView *header = (UITableViewHeaderFooterView *)view; CGRect sepFrame = CGRectMake(0, view.frame.size.height-1, 320, 1); UIView *seperatorView =[[UIView alloc] initWithFrame:sepFrame]; seperatorView.backgroundColor = [UIColor colorWithWhite:224.0/255.0 alpha:1.0]; [header addSubview:seperatorView];
Subscribe to:
Posts (Atom)