Questions about custom switch button in Swift : <p>I want to make a switch button like the picture.</p>

<p><a href="https://i.stack.imgur.com/4sYPi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4sYPi.png" alt="enter image description here"></a></p>

<p>Is there a library or method in ios that allows this switch button?</p>
