MSSimpleGauge
MSSimpleGauge copied to clipboard
NSAutoresizingMaskLayoutConstraints warning in iOS8.2 - labels in wrong place
the following code in MSAnnotatedGauge.m fixes the error message, but is ios 8.2 cause the labels to be drawn on the left of the scree outside the frame. commenting it out fixes the problem , returns the error message. picture attached.
if ([_valueLabel respondsToSelector:@selector(setTranslatesAutoresizingMaskIntoConstraints:)]) { _valueLabel.translatesAutoresizingMaskIntoConstraints = NO; }
Go ahead and issue a pull request. I will gladly merge it.
Sorry, I don't have a five for it, the code line is the one that is going wrong