Is there a way to change the number of segments programmatically?
Yes, you can use
removeSegmentAtIndex:(NSUInteger) animated:(BOOL)
And
insertSegmentWithTitle:(NSString *) atIndex:(NSUInteger) animated:(BOOL)
1.4m articles
1.4m replys
5 comments
56.9k users