PreviewLayout.sizeThatFits
Fit the container to the size of the preview when offered the size of the device that the preview is running on.
Declaration
case sizeThatFitsFit the container to the size of the preview when offered the size of the device that the preview is running on.
case sizeThatFits