Skip to content

Conversation

@sorenu
Copy link

@sorenu sorenu commented Jan 2, 2015

If corner radius is applied to the control before the selected segment indicator has been given a frame, the corner radius would not be applied to the indicator. This meant that corner radius had to be set in viewDidAppear: to make sure the control had been properly laid out. With this fix, the control makes sure to apply the corner radius to the selected segment indicator when the view is being laid out.

… when corner radius is applied before the selected segment indicator layer has a frame.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant