.onAppear () is calling when I navigated back to a view by clicking back button

前端 未结 0 870
Happy的楠姐
Happy的楠姐 2020-12-21 01:25

I have two views written in swiftUI , say for example ViewA and ViewB. onAppear() of ViewA has an apiCall which calls when initially the view is loaded. I navigate to ViewB

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