开发者

How to change color of UITextField in iPhone?

开发者 https://www.devze.com 2022-12-12 01:12 出处:网络
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

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 s开发者_如何学PythonetBackgroundColor:[UIColor clearColor]]; 

but it's not working - the textfield is appearing in white color.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消