I had a similar problem. Tried asCopy and [.data] but it did not help. I open up the picker and than simply cancel it and I got the warning.
I also tried to use SwiftUI instead of UIKit but it doesn't matter.
Topic:
Programming Languages
SubTopic:
Swift
Tags: