How to rescale PKDrawing in SwiftUI on screen rotation?

前端 未结 0 572
时光说笑
时光说笑 2021-01-25 05:38

Im currently making an app usig PencilKit and SwiftUI. If the screen is rotated, the canvas (and the drawing) should be rescaled acordingly. I do this with the Geometry reader a

相关标签:
回答
  • 消灭零回复
提交回复
热议问题