问题描述
当用户触摸拇指时,我想为 UiSlider 拇指图像设置动画。
我为不同的状态设置了不同大小的图像,就像这样
if let image = UIImage(systemName: "circlebadge.fill") {
let small = image.applyingSymbolConfiguration(UIImage.SymbolConfiguration(textStyle: .footnote))
slider.setThumbImage(small,for: .normal)
let large = image.applyingSymbolConfiguration(UIImage.SymbolConfiguration(textStyle: .largeTitle))
slider.setThumbImage(large,for: .highlighted)
}
它发生了变化,但我想为此过渡添加一些动画,类似于 iOS 播客应用。
使用普通的 UiSlider 有可能吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)