Josue Espinosa Josue Espinosa - 11 months ago 79
iOS Question

Make UISlider height larger?

I've been searching for a way to make the

progress bar taller, that is, increase the height. However, I haven't had any success. I don't want to use a custom image or anything, just make it taller, so the
doesn't look so thin. Am I missing something super obvious?

Answer Source

I found what I was looking for. The following method just needs to be edited in a subclass.

- (CGRect)trackRectForBounds:(CGRect)bounds{
    CGRect customBounds = ...
    return customBounds;