Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)addHeaderButton {
- _headerButton = [UIButton buttonWithType:UIButtonTypeCustom];
- self.headerButton.frame = self.bounds;
- self.headerButton.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
- [self.headerButton setTitleColor:[UIColor colorWithRed:(0.0/255.0) green:(51.0/255.0) blue:(102.0/255.0) alpha:(1.0)] forState:UIControlStateNormal];
- self.headerButton.titleLabel.font = [UIFont fontWithName:@"Nunito-Black" size:25];
- //[self.headerButton setFont:[UIFont systemFontOfSize:25]];
- [self.headerButton addTarget:self action:@selector(headerButtonAction:) forControlEvents:UIControlEventTouchUpInside];
- [self.contentView addSubview:self.headerButton];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement