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

AutoLayout error #23

Open
stefanocdn opened this issue Sep 26, 2014 · 0 comments
Open

AutoLayout error #23

stefanocdn opened this issue Sep 26, 2014 · 0 comments

Comments

@stefanocdn
Copy link

Hi, when running the sample, I get this error due to layout constraints

Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) 
 (
"<NSLayoutConstraint:0x166ac530 V:[UILabel:0x166d6de0(21)]>",
"<NSLayoutConstraint:0x166a5cf0 V:[UIButton:0x166a7db0(30)]>",
"<NSLayoutConstraint:0x166bdf50 V:|-(8)-[UILabel:0x166d6de0]   (Names: '|':AXSampleSwipableHeaderView:0x166d0d30 )>",
"<NSLayoutConstraint:0x166d4220 V:[UILabel:0x166d6de0]-(8)-[UIImageView:0x166c1c50]>",
"<NSLayoutConstraint:0x166bfb00 V:[UIButton:0x166a7db0]-(8)-|   (Names: '|':AXSampleSwipableHeaderView:0x166d0d30 )>",
"<NSLayoutConstraint:0x166abee0 V:[UIImageView:0x166c1c50]-(8)-[UIButton:0x166a7db0]>",
"<NSAutoresizingMaskLayoutConstraint:0x16558800 h=-&- v=-&- AXSampleSwipableHeaderView:0x166d0d30.height == UIView:0x166d5360.height - 388.5>",
"<NSAutoresizingMaskLayoutConstraint:0x16569b60 h=--& v=--& V:[UIView:0x166d5360(455)]>"

)

 Will attempt to recover by breaking constraint 
 <NSLayoutConstraint:0x166a5cf0 V:[UIButton:0x166a7db0(30)]>

Does anybody get the same error? Any idea where it comes from?

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

1 participant