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