[英]How to scale a element using Drag gesture in swiftui
Here, in my example image you can see that I have a text "HELLO" and in the right corner having a button.在这里,在我的示例图像中,您可以看到我有一个文本“HELLO”,并且在右上角有一个按钮。 I want that I can scale my text or element by Drag gesture of the right corner button.
我希望我可以通过右上角按钮的拖动手势来缩放我的文本或元素。 What is the efficient way?
什么是有效的方法?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.