Josue Espinosa Josue Espinosa - 1 year ago 111
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;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download