SwiftUI: how to make different parts of a view tappable

前端 未结 0 328
我在风中等你
我在风中等你 2021-01-13 23:21

I am writing an app using swiftUI. One of the systems includes an image that, depending on where on the image you tap, a different function gets fired. eg: you have an image

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