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. Access to videos/movies on IOS
Qt 6.11 is out! See what's new in the release blog

Access to videos/movies on IOS

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 1.1k Views
  • 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.
  • Q Offline
    Q Offline
    QtDeveloping94
    wrote on last edited by
    #1

    I tried several things to get videos / movies on IOS, but I am failing.

    I can get access to the photolibrary with this code:

    Note: On iOS, if you do pass QStandardPaths::standardLocations(QStandardPaths::PicturesLocation).last() as argument to QFileDialog::setDirectory(), a native image picker dialog will be used for accessing the user's photo album. The filename returned can be loaded using QFile and related APIs. This feature was added in Qt 5.5.

    I know from swift, that I can choose between movie and pictures. Is it possible in qt too, or how would you change the video for an ios app, written in qt?

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      QtDeveloping94
      wrote on last edited by
      #2

      QStandardPaths::MoviesLocation. | 5

      Returns the directory containing the user's movies and videos. This is a generic value. If no directory specific for movie files exists, a sensible fallback for storing user documents is returned.

      seems not possible for ios devices ..

      jsulmJ 1 Reply Last reply
      0
      • Q QtDeveloping94

        QStandardPaths::MoviesLocation. | 5

        Returns the directory containing the user's movies and videos. This is a generic value. If no directory specific for movie files exists, a sensible fallback for storing user documents is returned.

        seems not possible for ios devices ..

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @QtDeveloping94 said in Access to videos/movies on IOS:

        seems not possible for ios devices ..

        What is not possible? It does not return anything?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        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