Skip to content

AutoLayout error #23

@stefanocdn

Description

@stefanocdn

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions