Jacolack Jacolack - 9 months ago 66
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.