Jacolack Jacolack - 8 months ago 46
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.


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

self.segmentedControl.userInteractionEnabled = false;

Hope this will help you.