如何使用动画更改UISegmentedControl索引? [英] How to change UISegmentedControl index with animation?

查看:111
本文介绍了如何使用动画更改UISegmentedControl索引?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以通过 selectedSegmentIndex 更改 UISegmentedControl 的选定段,但是可以通过动画更改索引吗?

I can change selected segment of UISegmentedControl by selectedSegmentIndex, however is it possible to change index with animation?

推荐答案

这是不可能的。您必须实现自己的自定义视图或搜索允许该视图的第三方控件。

This is not possible. You have to implement your own custom view or search for a 3rd party control that allows that.

这篇关于如何使用动画更改UISegmentedControl索引?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆