To add to the already accepted answer, It is also worth noting that if you are replacing the view in a view controller with another, I have found that any constraints to the layout guides are not actually used. I haven't looked into the exact details of this, but I presume it's because the layout guides are only available during the time the View Controller is loaded from the storyboard.
For this reason, I recommend using layout to container, but only when you intend to be swapping views of the view controller.
I came across this when I wanted to use the storyboard to create empty states for my apps.
Example:
-(void)viewDidLoad{
UIView* replacementView = //view loaded from storyboard
self.view = replacementView //Layout guide margins will not be followed in replacement view
}