Forums

OverviewFelgo 2 Support (Qt 5) › native imagePicker return empty path

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #22263

    Nicola

    Hi,

    i’m developing on iOS 13, i want load a photo from gallery using native image picker, but after that i select the photo the path is null, my code:

    IconButtonBarItem {
                //anchors.fill: parent
                id: photoButton
                icon: IconType.photo
                showItem: showItemAlways
                visible: true
                onClicked: {
                    nativeUtils.displayImagePicker("test")
    
                }
            }
    
     Connections {
            target: nativeUtils
            onImagePickerFinished: {
                console.log("[Debug] foto path " + path + " accepted " + accepted)
                if(accepted) {
                    //image.source = path
                    console.log("[Debug] foto path " + path)
                }
            }
        }

    Accepted is always FALSE

    #22306

    Alex
    Felgo Team

    Hi Nicola,

    we are not quite able to reproduce this issue. Does it happen using the Live Client or with regular deployment from Qt Creator?

    Best,
    Alex

    #22308

    Nicola

    Hi,

    regola deployment on real device.

    N.

    #22314

    Nicola

    Let me know if i can do some test to help the investigation.

    #22359

    Alex
    Felgo Team

    Hi Nicola,

    is iCloud activated for photos on your testing device?

    Cheers,
    Alex

Viewing 5 posts - 1 through 5 (of 5 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support