SVSegmentedControl icon indicating copy to clipboard operation
SVSegmentedControl copied to clipboard

SVSegmentedControl set selected index to none

Open oldelidog opened this issue 10 years ago • 1 comments

Dear Sir,

I am considering using your (excellent) SVSegmentedControl in one of my iPhone apps, along with the appropriate attribution (of course). I am having difficulty, however, setting all segments to the OFF state, something like this:

[mySVSegmentedControl setSelectedSegmentIndex: UISegmentedControlNoSegment]

or even:

[mySVSegmentedControl setSelectedSegmentIndex: -1]

Your code does not seem to allow this (exception error, plus segment index is NSUInteger (unsigned integer)). Is it possible to get around this?

Please advise.

Best regards, R. Preston

oldelidog avatar Apr 05 '14 17:04 oldelidog

+1 Would also like to see this feature.

funky-monkey avatar Oct 06 '14 09:10 funky-monkey