Network requested images on iOS are not displaying.

Hello I am making a network request to display images in my app, however when testing on iOS (iPad Mini 2 Development Compiled) the images do not appear. This same function works in Android and on the simulator, any advice is greatly appreciated. 

 
*cheers

[lua]

local image_thumb = data.data[id].mobile_thumb
local url = DOMAIN … “default/download/” … image_thumb

local function ImageListener(event)
   if (event.isError) then
      print( “[-] Network error - download failed” )
   elseif (event.phase == “began”) then
      print("[+] Progress Phase: began")
   elseif (event.phase == “ended”) then
      print("[+] Displaying response image file")
      local image = display.newImageRect(event.response.filename, event.response.baseDirectory, 45, 45)
      image.x = 25
      image.y = row.height / 2.1
      row:insert(image)
   end
end

local params = {}
params.progress = true

network.download(
   url,
   “GET”,
   ImageListener,
   params,
   image_thumb,
   system.TemporaryDirectory

)

[/lua]

http or https 

If the prior (http), are you setting up your ‘app transport security’ correctly?

https://docs.coronalabs.com/guide/hardware/appleATS/index.html

https://docs.coronalabs.com/guide/hardware/appleATS/index.html#bypassing-ats

Thank you for your help, this is likely the case as I am using an HTTP connection.

Much appreciated.

*cheers

http or https 

If the prior (http), are you setting up your ‘app transport security’ correctly?

https://docs.coronalabs.com/guide/hardware/appleATS/index.html

https://docs.coronalabs.com/guide/hardware/appleATS/index.html#bypassing-ats

Thank you for your help, this is likely the case as I am using an HTTP connection.

Much appreciated.

*cheers