init(width:height:)
Creates a new proposed size using the specified width and height.
Declaration
init(width: CGFloat?, height: CGFloat?)Parameters
- width:
A proposed width in points. Use a value of
nilto indicate that the width is unspecified for this proposal. - height:
A proposed height in points. Use a value of
nilto indicate that the height is unspecified for this proposal.