-1

I am creating a keyboard Extension app. I want to display images in my custom Keyboard, but it is returning me below error

Code=-1003 "A server with the specified hostname could not be found."

but when I runs it in simulator it shows me images, I've tried AlamofireImage, SdWebImage everything but getting same error message. App is displaying images, but I am facing this issue in keyboard extension.

Kuldeep
  • 4,466
  • 8
  • 32
  • 59
Imran Aftab
  • 93
  • 1
  • 2
  • 9

1 Answers1

0

I've Resolved my issue, I just used the web View in the UIImage area and pass the image url over there. That worked for me. Note: if you face the same issue in Keyboard extension then use it, otherwise it is not good approach to use webView to launch image.

Imran Aftab
  • 93
  • 1
  • 2
  • 9