views:

326

answers:

0

Hi, I'm adding a UISwitch as accessoryView for my UITableViewCell, everything works fine excepts that when the user selects a row in the table; the UISwitch gets a very strange layout :

alt text

Is that "Normal" ? I'm still running with SDK 3.0 (in case this is a bug in 3.0 but my searches didn't give me any hint regarding this).

I've seen on various forums that a way to work around this is to set the UITableViewCellSelection to "None" (and that works: the UISwitch never looks that strange), but in my case, I want to keep the selection visible with this blue background color. How can I get both : selection enabled + "correct" UISwitch layout ?