Please post code here as formatted text, not screenshots. Would be easy to copy the code and test myself, but no one will try to write that code to try out what is the issue.
Also, post the error also as text, we cannot see from the picture what the error is. Is that a compiler error or runtime error? Compiler doesn't check the URL for correctness so if the URL is incorrect, that would be a runtime error then?
Topic:
Programming Languages
SubTopic:
Swift
Tags: