Skip to content

SVSegmentedControl set selected index to none #73

@oldelidog

Description

@oldelidog

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions