Jacolack Jacolack - 2 years ago 188
iOS Question

Swift: Make UISegmentedView uneditable

Pretty self explanatory title: quickly make a UISegmentedView uneditable. This means the user will not be able to change the selected segment.

Answer Source

If you want to stop the interaction of segmentdControl try like this.

self.segmentedControl.userInteractionEnabled = false;

Hope this will help you.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download