ios - UISlider not working, only display half of the track -
upon inserting uislider interface, greeted strange me in interface builder, half of track gone. figured graphical glitch, because quite common interface builder decided preview application. same issue present. so, ran application find out not issue present, uislider not responsive in way, shape, or form. tried moving slider out of nested view make sure nothing blocking touch events it, although no avail.
the reason half of track hidden
can seen in picture below:
as can see selectors, uislider taking half of space should be, on-top of still has it's default values:
- minimum: 0
- maximum: 1
- current: 0.5
- mode: scale fill
- enabled: true
now strange part know there's nothing wrong uislider
whole, because use in other interfaces/views. can seen working below:
i'm not sure go here, can't find reason uislider should not work. i'm not using custom views or viewcontrollers in interface, it's just... not working, , no reason.
try set minimumtracktintcolor
of uislider
with other color. may taking clear color or background color(white). , that's why not visible you.
Comments
Post a Comment