问题
I can change selected segment of UISegmentedControl
by selectedSegmentIndex
, however is it possible to change index with animation?
回答1:
This is not possible. You have to implement your own custom view or search for a 3rd party control that allows that.
来源:https://stackoverflow.com/questions/36379008/how-to-change-uisegmentedcontrol-index-with-animation