niks
niks

Reputation: 554

UISwitch with custom image

I need to customize UISwitch by changing background color as well as knob(holder) image as shown in below image.Is it possible to customize UISwitch without app getting rejected.

enter image description here

Thanks in advance

Upvotes: 4

Views: 9290

Answers (1)

user529758
user529758

Reputation:

There's an onTintColor property you can set on UISwitch. If you need to change the handle image as well, have a look at DCRoundSwitch.

Upvotes: 7

Related Questions