How to make a view's height animate from 0 to height in SwiftUI?

前端 未结 0 520
后悔当初
后悔当初 2021-01-06 08:52

I\'d like to make this bar\'s height (part of a larger bar graph) animate on appear from 0 to it\'s given height, but I can\'t quite figure it out in SwiftUI?

struct

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