Open ahmtkocamn opened 7 years ago
me to same error
same
In case anyone is curious - I was encountering a nil when unwrapping the image from the Completion Handler. However for me, it was in the downloadImages method.
I discovered NSURL Error 1022 in my log and it was due to my App Transport Security settings in info.plist. For me, I was able to fix it by modifying my plist and allowing arbitrary loads and setting it to YES.
Below explains how to modify: https://stackoverflow.com/questions/32532020/nsurl-error-code-1022
I get angry here, I get an error like this. fatal error: unexpectedly found nil while unwrapping an Optional value