sizeThatFits(_:)
Returns the space needed by the text view, for a proposed size.
Declaration
func sizeThatFits(_ proposal: ProposedViewSize) -> CGSizeParameters
- proposal:
The proposed size of the text view.
Return Value
The size that the text view requires for the given proposal.