I have a UIScrollView with a UIView inside it and 3 UITableViews inside the view and I have the following constraints for the view :
In my code, exactly in ViewDidLayoutSubviews I have the following code
- (void)viewDidLayoutSubviews { [_containerScrollView setContentSize:CGSizeMake(SCREEN_WIDTH * 3, [_containerScrollView frame].size.height)]; [_contentViewWidthLayoutcontraint setConstant:SCREEN_WIDTH * 3]; [[self view] layoutIfNeeded]; } Which change the view width realtivly to the screen width.
My question is why there is no conflict between the width constraint and the leading/trailing constraints ?
