Open rodrigobusata opened 8 years ago
I added the division lines in my version of the lib and would like share with you.
- (void)addButtonsToView: (UIView *)container ... for (int i=0; i<[_buttonTitles count]; i++) { ... CGFloat x = container.frame.size.width / [_buttonTitles count]; for (int i=1; i<[_buttonTitles count]; i++) { UIView *lineView = [[UIView alloc] initWithFrame:CGRectMake(x*i, container.bounds.size.height - buttonHeight - buttonSpacerHeight, buttonSpacerHeight, buttonHeight)]; lineView.backgroundColor = divColor; [container addSubview:lineView]; }
I added the division lines in my version of the lib and would like share with you.