Is there a way to change the number of segments programmatically?
work for me, UIsegmentedControll contains two segments, i want add one in index 2, use this code in swift 2.2 use:
SEG_TipoFiltro.insertSegmentWithTitle("Title", atIndex: 2, animated: false)