JasonGenX
JasonGenX

Reputation: 5434

UITextField blue background, out of the blue

I have a couple of UITextField elements in a UITableView. I can edit them freely, but for reasons I can't understand or easily reproduce - sometimes, one of the fields will get a blue background and will stay that way. Editing still works, it's just painted blue for some reason.

enter image description here

What am I missing?

Trying my app on an iPad 3. Xcode 4.3.x, IOS 5.1.1

Upvotes: 1

Views: 164

Answers (1)

Rui Peres
Rui Peres

Reputation: 25907

I think it's the cell that get's selected as well... I think this should do the trick:

cell.selectionStyle = UITableViewCellSelectionStyleNone;

Upvotes: 2

Related Questions