@property (weak, nonatomic) IBOutlet NSLayoutConstraint *heightView; self.heightView.constant = 你的高度;