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:

enter image description here

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:

enter image description here

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 uisliderwith other color. may taking clear color or background color(white). , that's why not visible you.


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -