I have project in which have to customise UISlider
element.
I wondering if someone knows how to change, or is it possible to change height of UISlide
bar line.
I tried something like this but don't work:
let customBounds = CGRect(origin: bounds.origin,
size: CGSize(width: bounds.size.width, height: 15.0))
feedbackSlider.trackRectForBounds(customBounds)
Thanks
let yPosition = (bounds.height - trackHeight) / 2
line 2:return CGRect(x: bounds.origin.x, y: yPosition, width: bounds.width, height: trackHeight)
Otherwise the track is at the top of its container view instead of centered. – Ugo