pub unsafe trait MSMessagesAppTranscriptPresentation {
// Provided method
unsafe fn contentSizeThatFits(&self, size: CGSize) -> CGSize
where Self: Sized + Message { ... }
}
Available on crate feature
MSMessagesAppViewController
only.Expand description
Provided Methods§
Sourceunsafe fn contentSizeThatFits(&self, size: CGSize) -> CGSize
Available on crate feature objc2-core-foundation
only.
unsafe fn contentSizeThatFits(&self, size: CGSize) -> CGSize
objc2-core-foundation
only.The content size of the view controller’s view fitting the constraining size.
This method will only be called if the presentationStyle
is MSMessagesAppPresentationStyleTranscript
.
Parameter size
: The maximum size the view will be displayed at.