Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. iOS - Access user's files
Forum Updated to NodeBB v4.3 + New Features

iOS - Access user's files

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 455 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    goocreations
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved