Skip to content

WithPerceptionTracking warning for nested non TCA views #2974

Answered by mbrandonw
shannoga asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @shannoga, this is covered in the docs. All escaping view builder closures must have a WithPerceptionTracking applied. So ZStack doesn't need one on the inside, but ForEach does.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shannoga
Comment options

Answer selected by shannoga
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants