The size of your messages view, given the provided maximum size.
- iOS 11.0+
The maximum available size, in points.
The system calls this method only when the Messages app needs to update the view’s size and the view controller is presenting a live view in the transcript or input field (the view controller’s
presentation property is set to the
MSMessages value). Typically, the view’s size needs updating when the live message is added to the transcript, when the transcript’s width changes, or when the locale or dynamic type size changes.
MSMessages class’s default implementation of the
content method simply returns the
size parameter. Override this method to return an appropriate size for your live message view that fits within the provided size. The returned value must be equal to or smaller than the