Technically, everyone is right that they cannot turn off the automatic layout for individual scenes in the storyboard. However, even if the global “switch” for automatic layout is included in the storyboard, you can still use autoresist masks (that is, a system of springs and spacers) anywhere. Although the system will convert masks to “auto-resize” behind the scenes, you don’t have to directly address the restrictions.
Just make sure that when you select / initialize the view programmatically, you set your translatesAutoresizingMaskIntoConstraints property to YES.
source share