标签: screenshot swiftui ios13
How to convert a View (not UIView) to an image?此解决方案适用于可见区域。有什么方法可以将swiftui视图转换为图像。