views:

309

answers:

1

hello, I have placed UITextField in UITableView and my TableViewCell color is Yellow , normally the background color of TextField in white i want to change the color of TextField to yellow or it should be transparent... i have used [ txtfld setBackgroundColor:[UIColor clearColor]]; but it's not working the textfield are appearing in white color.. plz help me out Thanks in advance..

A: 

Is [txtfld setBackgroundColor:[UIColor yellowColor]]; working?

Aurélien Bottazzini
no i hav tried this but this is not working then i hav used textview instead using textfield then there is a problem that the cursor going scroll to up side .i hav also set textview.scrollEnabled=NO; can u help me out of this
mayank sahai