MSSimpleGauge icon indicating copy to clipboard operation
MSSimpleGauge copied to clipboard

NSAutoresizingMaskLayoutConstraints warning in iOS8.2 - labels in wrong place

Open juliany opened this issue 9 years ago • 2 comments

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.

screen shot 2015-03-27 at 09 45 26

if ([_valueLabel respondsToSelector:@selector(setTranslatesAutoresizingMaskIntoConstraints:)]) { _valueLabel.translatesAutoresizingMaskIntoConstraints = NO; }

juliany avatar Mar 27 '15 08:03 juliany

Go ahead and issue a pull request. I will gladly merge it.

sabymike avatar Mar 27 '15 15:03 sabymike

Sorry, I don't have a five for it, the code line is the one that is going wrong

juliany avatar Mar 27 '15 15:03 juliany