I'm sorry I late to notice. If it hasn't resolved yet, could you post new question and show your code?
Post
Replies
Boosts
Views
Activity
I’m sorry I didn’t notice for a long time.
Hasn’t that problem been solved yet?
Oh, I'm sorry I couldn't solve your error.
If possible, could you tell me where the error is occurring? It doesn't have to be a specific code. Is it in a view, in a function, or other place? I may be able to help you.
(And I'm not a native English speaker, so I apologize if my English is wrong.)
I should have moved .sheet outside Foreach and use UUID for id. I'll study about SwiftUI more. Thank you.
I apologize if my English is incorrect because I'm not a native English speaker.
"and is deprecated in iOS 16" ->
We can use NavigationStack instead NavigationView.
There is a useful article for learning about new navigation types.
Apple Developer Documentation, Migrating to new navigation types