A view extension that runs conditional code based on its GeometryReader results

后端 未结 0 760
陌清茗
陌清茗 2021-01-18 00:51

I’ve created a View extension to read its offset (inspired by https://fivestars.blog/swiftui/swiftui-share-layout-information.html):

func readOffset(in coordi         


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