So I am making an iPhone program and for some odd reason the title of my UIButtons will not show... am I missing something??
I get no errors or even warnings on compilation and my buttons and everything appear, just the title is not being shown....
FurballViewController.m
...
-(void)loadView {
UIButton *btn = [UIButton buttonWithType:UIButtonTypeRoundedRect];
[btn setFrame:CGRectMake(20, 50, 280, 40)];
[btn setTitle:@"Stupid Title Wont Work" forState:UIControlStateNormal];
[self.view addSubview:btn];
[btn release];
}
...