Here is a tutorial which can help you to create custom UISwitch
. It mention to ways to create custom UISwitch
. Concept is to subclass UISwitch
class and add custom things in it.
Creating my custom UISwitch [closed]
-
27-09-2022 - |
Question
i am looking for a solution to customize a UISwitch
the desigred looks lie this :
how would you managed it?
La solution
Autres conseils
You can use a UIbutton
and toggle its image for On/Off.
Or else if you want to make animation to toggle On/Off you should use your custom view. Please see this answer
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow