You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am planning to use this view to display messages as markdown in a UICollectionView cell that hosts a SwiftUI view. How would I be able to pre-calculate the required height this view will be based on a string and a constrained width?
The text was updated successfully, but these errors were encountered:
I don't think it has the ability to pre-calculate the size itself, because of the fact of SwiftUI; however, using GeometryReader to get the size is totally legit in the scenario.
I am planning to use this view to display messages as markdown in a UICollectionView cell that hosts a SwiftUI view. How would I be able to pre-calculate the required height this view will be based on a string and a constrained width?
The text was updated successfully, but these errors were encountered: