I would like to create a toggle button in my iPhone application. However, I don\'t know exactly what would be the best approach for this.
I am considering two options.
You can use UIButton and set its enabled property.
UIButton
enabled
In Interface Builder, you can set separate images for the enabled and disabled states, and the IBAction change the property.
IBAction