SwiftUI - Move and rotate an Image when a button is pressed

前端 未结 0 1964
悲哀的现实
悲哀的现实 2020-12-15 03:03

I have an Image, and I want it to rotate on the y axis, and move towards the bottom of the View when I press a Button. I tried using the .onChange, but I get the error "

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