I add a UILabel using objective c, have a white rectagle around them. How do I remove this rectangle so the background shows through?
I looked in the documnetion for uilabel view and did not see anything per to background.
code
UILabel *mContact=[ [UILabel alloc] initWithFrame:CGRectMake(273,442,32,20)];
mContact.text=@"Contact";
mContact.font=[UIFont fontWithName:@"Helvetica" size:9.0 ];
[self.view addSubview:mContact];
-Ted
Try this out:
–or–
Also, check out the UILabel Class Reference