I give up. I want to make a text wrap around some view and I can't find any way to do it.
Example Code:
struct ListView: View {
// actual text from @ObservedObject
var exText = "The statue of Laocoön and His Sons, also called the Laocoön Group (Italian: Gruppo del Laocoonte), has been one of the most famous ancient sculptures ever since it was excavated in Rome in 1506 and placed on public display in the Vatican,[2] where it remains. It is very likely the same statue praised in the highest terms by the main Roman writer on art, Pliny the Elder.[3] The figures are near life-size and the group is a little over 2 m (6 ft 7 in) in height, showing the Trojan priest Laocoön and his sons Antiphantes and Thymbraeus being attacked by sea serpents.[1]"
@State var thumbnail:UIImage = UIImage()
var body: some View {
HStack {
Image(uiImage: thumbnail)
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 70.0, height: 70.0)
.background(Color.gray)
//.onReceive() to update the image from the @ObservedObject
Text(exText)
.lineLimit(nil)
}
}
}
If I use text(UIImage()) to insert the image, it shows the bottom of the image in line with the first line of the text. Plus, this method doesn't let me customise the UIImage view.
All the methods .mask, .clipShape, .compositingGroup and .contentShape didn't work out at all since they just clip the text and don't let it wrap around the other view. With UIKit this was doable by using exclusionPaths, is there an equivalent to this in SwiftUI?
I googled and searched the documentation for hours and all I can find is this question here which didn't get answered either. Swift gods please answer my prayers!

