I can not download any image on iOS but works perfectly on Windows and Android.
NetworkRequest {
id: networkRequest
url: "https://example.example.com/api/currentimage"
responsePath:AppFramework.userHomeFolder.filePath("ArcGIS/AppStudio/pipo.jpg")
headers.json: {"My-Key": "PIPO"}
property url imagePath: AppFramework.resolvedPathUrl(responsePath)
onReadyStateChanged: {
if ( readyState === NetworkRequest.DONE ) {
//console.log("downloaded image")
selected.obtainedImagePath = imagePath;
busyIndicator.running=false;
//console.log(imagePath)
selected.mustUpdate = false;
}
}
}Any idea?