Hi,Im uncertain exaclty how to specify the custom needle for a gauge, as I cant seem to set its size after adding it. I cant seem to control the custom needles size, and any help would be apprecaited.
Im simply trying to use my own image as the needle, however when I resize the gauge the image seems to scale non-uniformly, so I need some way to override the default size. Changing the size, widht, and border seems to have no effect.
self.gauge.needle = [[MYNeedle alloc] init];
self.gauge.style.needleLength = 1.0;
self.gauge.style.needleWidth = 0.1;
self.gauge.style.needleBorderWidth = 10;
self = [super init];
self.autoresizesSubviews = YES;
self.backgroundColor = [UIColor clearColor];
self.layer.anchorPoint = CGPointMake(0.5, 1.0);
self.image = [UIImage imageNamed:@"newneedle"];
self.contentMode = UIViewContentModeScaleAspectFit;
self.layer.masksToBounds = YES;