Update only a child view within SwiftUI body – Ios swift
I have a LottieAnimationView along with some other components inside ScrollView, animation is only supposed to play once. @State var messageBannerVisisbility: Bool = false var body: some View { VStack(alignment: .center) { TrackableScrollView { VStack(alignment: .center) { headerView(components: header) contentView(components:…