Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NSAutoresizingMaskLayoutConstraints warning in iOS8.2 - labels in wrong place #11

Open
juliany opened this issue Mar 27, 2015 · 2 comments

Comments

@juliany
Copy link

juliany commented Mar 27, 2015

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;
}

@sabymike
Copy link
Owner

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

@juliany
Copy link
Author

juliany commented Mar 27, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants