Post

Replies

Boosts

Views

Activity

Reply to Can't get a scoped resource URL from drag and drop
I am having the same problem. I am able to load security scoped URLs through the file picker API's but any drag and drop operations put me to temporary files. I have tried both the load file in place APIs as well: provider.loadInPlaceFileRepresentation(forTypeIdentifier: type.identifier) provider.loadFileRepresentation(for: type, openInPlace: true) For my use case, I want the user to be able to open the original file from my app without copying their data into the sandbox.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’26
Reply to Can't get a scoped resource URL from drag and drop
I am having the same problem. I am able to load security scoped URLs through the file picker API's but any drag and drop operations put me to temporary files. I have tried both the load file in place APIs as well: provider.loadInPlaceFileRepresentation(forTypeIdentifier: type.identifier) provider.loadFileRepresentation(for: type, openInPlace: true) For my use case, I want the user to be able to open the original file from my app without copying their data into the sandbox.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’26