I am unable to control the background color of a UITextField
with a borderStyle= UITextBorderStyleRoundedRect
. With this border style the ba
A dump of the view hierarchy reveals that the UITextField
has a single subview of type UITextFieldRoundedRectBackgroundView
, which in turn has 12 UIImageView
s.
An older article by Erica Sadun shows an additional UILabel
, which Apple apparently removed in later versions of the SDK.
Fiddling with the UIImageView
s doesn't change much.
So the answer is: there's probably no way to change the background color.