Skip to content

Instantly share code, notes, and snippets.

@ezefranca
Created December 22, 2014 17:32
Show Gist options
  • Save ezefranca/b6b59b7375e3a72d0e8a to your computer and use it in GitHub Desktop.
Save ezefranca/b6b59b7375e3a72d0e8a to your computer and use it in GitHub Desktop.
label
// Section One
UIView *sectionOne = [[UIView alloc] init];
[sectionOne setBackgroundColor:[UIColor clearColor]];
UILabel *label = [[UILabel alloc] initWithFrame:sectionOne.frame];
label.backgroundColor = [UIColor clearColor];
label.textAlignment = NSTextAlignmentCenter;
label.textColor = [UIColor whiteColor];
label.numberOfLines = 1;
label.text = @"Texto no Label";
//[self.view addSubview:label];
[sectionOne addSubview:label];
[accordion addSectionWithTitle:@"Segunda-Feira"
andView:sectionOne];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment