UIView.ContentMode | Apple Developer Documentation

Options to specify how a view adjusts its content when its size changes.