Why doesn't @State wrapped variable update immediately in SwiftUI

后端 未结 0 1682
日久生厌
日久生厌 2021-02-07 17:08

According to the documentation, modifying a @State wrapped variable will refresh the view which refers that variable. But when I was trying to change the @Sta

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