Hi,
I want to import GPX files into my iOS App. It works fine in the simulator using:
.fileImporter(isPresented: $showFileImporter, allowedContentTypes: [UTType(filenameExtension: "gpx")!,
UTType(filenameExtension: "GPX")!],
allowsMultipleSelection: true)
But running the app on an actual device (iOS 15 Beta 6), I am not allowed to select any of the GPX files. The strange thing is, that if I am using "jpg" instead of "gpx" I can select "jpg" files just fine. So it seems, that it has to do something with the "GPX" type being 'custom'.
Any idea/hint what I am missing?
Thank you!
- Michael