constrain view.bottom to superview.bottom not bottomLayoutGuide in storyboard
问题 In interface builder it only gives me the option of constraining my sub view to the bottom layout guide, not the superview. Because I am sometimes using the controller as a child controller in a container controller setup, I really want to constraint to the superview bottom, not the bottom layout guide. 回答1: Select your TableView and go to Editor -> Pin . From there you have 4 options to pin to superview: Leading Space to Superview Trailing Space to Superview Top Space to Superview Bottom