swift - Customizing iOS UISlider -
i'm trying customise of uislider in ios.
my problem concerns trackimages, i've tried use:
let insets = uiedgeinsets(top: 0, left: 14, bottom: 0, right: 14) let trackleftimage = uiimage(named: "myimage") let trackleftresizable = trackleftimage.resizableimage(withcapinsets: insets) slider.setminimumtrackimage(trackleftresizable, for: .normal)
but wanted image recreate instead of resize.
is there way have image recreate , replace self in order form nice pattern instead of resizing add half of image @ end?
Comments
Post a Comment