Reputation: 103
I have placed UITextField
in UITableView
and my UITableViewCell
color is Yellow , normally the background color of UITextField
in white I want to change the color of UITextField
to yellow or it should be transparent... I have used
[txtfld setBackgroundColor:[UIColor clearColor]];
but it's not working - the textfield is appearing in white color.
Upvotes: 1
Views: 2113
Reputation: 3309
Is [txtfld setBackgroundColor:[UIColor yellowColor]];
working?
Upvotes: 3