Hello 👋
I played with the iOS 18 Group(subviews:) APIs these days and I guess I'm missing a point. Environment values seems to not being passed to subviews when set within the Group(subviews:) API.
See the following code:
Is it intended to be that way ? How to propagate different values to different subviews in this case ?
I heard of ContainerValues API but it seems to be a way to provide value at root level to access it during subview iteration. What I'm looking for is "insert"/"propagate" values to each subview during subview iteration.
PS:
This works but I have lost subview context this way (I'm out of the group).
Thanks in advance for anyone answering this!
Selecting any option will automatically load the page