iOS - Access user's files



  • My app allows the user to upload any file to my server. I'm using QStandardPaths to retrieve the location of the user's home directory. This works great on Android, Linux, Windows, etc. However, on iOS the standard paths refer to the app's subdiretories (probably due to iOS's "isolated island" approach"). If I navigate to the root directory, there is no /Users directory listed, hence, the user won't be able to upload any of his/her files.

    I'm aware of the new feature in Qt5.5 where you can use the native pictures selector if you use PicturesLocation. However, this only applies to pictures, not videos, documents or any other files.

    Is there any way I can access the user's directory, maybe by changing something in the .pro file or Info.plist?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.