I want to enable and disable user interaction with a UISegmented Control. I noticed that its superclass UIControl has a property called "enabled" is this what I need to set in order to disable/enable my control?
Yes, the enabled property is what you want. You can also use userInteractionEnabled as well, but I think that enabled will suffice.
Yes, for example. You can also use [segmentedControl setUserInteractionEnabled:NO]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With