uiSlider 拇指图形“闪烁”在第一代 3.1.3 上拖动 uiScrollview 时
我已将自己的拇指添加到 uiSlider 中,并将 1px x 1px 透明 .png 添加到轨道中(我不想看到轨道)(我也尝试将轨道设置为 nil)。
我的 uiSlider 也旋转为垂直。
uiSlider 位于 uiScrollView 之上,但未“附加”到该视图。有许多 uiLabels“附加”到此 uiScrollView,因此它们都在 uiSlider“下方”滑动。
在 3g 和 iphone 4 上一切正常,但在我的 1g itouch (3.1.3) 上有时滚动 uiScrollview 时,我会从拇指图形中看到奇怪的闪光!?
当 uiLabel 的边缘(在 uiScrollView 上)经过拇指图形“下方”时,似乎确实会发生这种情况?
我已经尝试了所有我能想到的...
I have added my own thumb to a uiSlider and added a 1px x 1px transparent .png to the tracks (I don't want to see the tracks) (I have also tried setting tracks to nil).
My uiSlider is also rotated to vertical.
The uiSlider sits over a uiScrollView but is not 'attached' to that view. There are numerous uiLabels 'attached' to this uiScrollView, so they all slide about 'beneath' the uiSlider.
It all works fine on 3g and iphone 4, but on my 1g itouch (3.1.3) I get a strange flash from the thumb graphic sometimes when scrolling the uiScrollview!?
It does seem to happen when the edge of a uiLabel (on the uiScrollView) passes 'under' the thumb graphic?
I have tried everything I can think of...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
知道了!将 1px x 1px 透明 .png 改为 2px x 2px!
Got it! made the 1px x 1px transparent .png 2px x 2px instead!