Post

Replies

Boosts

Views

Activity

Reply to SwiftUI file importer without buttons
I have to add more information to this issue because I've just made a very strange discovery: If I open tue Files app (without browse button) > I set a text in the Search bar > I clear the Search bar clicking the clear uitextfield button > I close the keyboard > the Files app shows its tabbar with the Recent, Shared and Browse tabs > I click on the Browse tab and Files app shows this: It's like the browse section was disabled or I don't have permissions. What could have made this strange behavior?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’23
Reply to SwiftUI file importer without buttons
I have to add more information to this issue: It definitely seems a permissions problem: If I make a fresh install from the app store of my app (file picker opened with UIDocumentPickerViewController) everything is OK > I update my new version (with this view in SwiftUI and file picker opened with fileimporter) and everything keeps working OK > I've tried a lot of things to reproduce the problem and if I've found out that if I revoke the File and folders permission of my app the incorrect behavior appears (files app is opened just with Recent items available). So, my conclusion is: The cause of my problem is that my app lost the files and folder permission. But how is this possible if I can guarantee that I have not revoked that permission manually? And how could I check the status of this permission and request for it again?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’23