Skip to content

Manually setting selectedSegmentIndex doesn't update the UI #29

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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