hstdt
复现代码 ```swift let url = URL(string: "https://avatars.githubusercontent.com/u/13112992?s=400&u=bb452b153d9d5342877ebd8179b04fbbae41f3d0&v=4") let array: [ASAttributedString] = [ .init( """ This is a remote image URL -> \(.image(url, placeholder: UIImage(named: "placeholder"), .proposed())) """, .paragraph(.alignment(.center)) ), .init( """ This is a remote image URL -> \(.image(url, .proposed())) """, .paragraph(.alignment(.center)) ) ] array.forEach { let height = $0.value.boundingRect( with: .init( width: UIScreen.main.bounds.width - 20, height: .greatestFiniteMagnitude ), options: [ .usesLineFragmentOrigin, .usesFontLeading ], context: nil ).integral.size.height print(height) } ``` <img width="1782" height="907" alt="Image" src="https://github.com/user-attachments/assets/97dd7b7a-e4df-433f-a696-19c7a851f89f" />