Blog Archives

Making a simple toggle button with UIButton

It’s actually pretty straightforward to turn a UIButton into a toggle button. (checkbox, switch, whatever you prefer to call it!) We can make use of the isSelected property that UIButton inherits from UIControl. All we need to do is connect

Tagged with: ,
Posted in Swift