'NSInvalidArgumentException', reason: 'Unable to parse constraint format'
问题 I have a subview that I want to keep stops during rotating screen, so I decided to put the NSLayoutConstraint type: Trailing Space to Superview Top Space to Superview Button Space to Superview I'm in a subclass of UITableViewCell. I wrote the code but I get the following error: 'NSInvalidArgumentException', reason: 'Unable to parse constraint format: self is not a key in the views dictionary. H:[self.arrows]-5-| My code in CustomCell.m is: self.arrows = [[Arrows alloc]initWithFrame:CGRectMake