【发布时间】:2023-03-16 05:24:01
【问题描述】:
[sld1 setThumbImage:[UIImage imageNamed:@"Blue.png"] forState:UIControlStateHighlighted];
[sld1 setThumbImage:[UIImage imageNamed:@"Blue.png"] forState:UIControlStateNormal ];
这会导致滑动条图像消失吗?我的都没有了。 (缩略图显示得很好。)
Apple 的文档听起来我可以使用上述 2 行代码中的任何 ONE。 (但我想我真的需要两者。)
而且我找不到任何关于“你必须始终做到所有 4 项”的信息:
Set the normal-state image.
Set the highlighted-state image.
Set the setMinimumTrackImage.
Set the setMaximumTrackImage.
【问题讨论】:
标签: iphone frameworks uiimage uislider