It looks like this whenever off:
While I\'d prefer more of a grey backgrou
There's no API support for changing the off fill color of a UISwitch
.
Adjusting the tintColor
will only affect the outline, and adjusting the backgroundColor
will affect the whole frame, including the parts outside the rounded bounds.
You either have to place a properly shaped opaque UIView
behind it or - easier - use a custom open source implementation, such as MBSwitch, which allows you to set the off fill color.