Skip to content

Manually setting selectedSegmentIndex doesn't update the UI #29

@DantePuglisi

Description

@DantePuglisi

It's quite unintuitive (and undocumented) that by doing:
segmentedControl.selectedSegmentIndex = 0
nothing happens in the UI (actually something happens but it's quite glitchy) and the way it works is by doing
segmentedControl.setSelectedSegmentIndex(0, animated: true)

Is this on purpose?

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