Pokemon images are not loading on ios simulator
Pokemon images are not loading on ios simulator . ATS failed system trust 2023-02-10 22:09:17.933907+0530 Demoapp[23461:447507] Connection 1: system TLS Trust evaluation failed(-9802) 2023-02-10 22:09:17.934160+0530 Demoapp[23461:447507] Connection 1: TLS Trust encountered error 3:-9802 2023-02-10 22:09:17.934331+0530 Demoapp[23461:447507] Connection 1: encountered error(3:-9802) 2023-02-10 22:09:17.939616+0530 Demoapp[23461:447507] Task <E59AC2EF-AA15-41D6-BB23-3F63EC19342F>.<0> HTTP load failed, 0/0 bytes (error code: -1200 [3:-9802]) 2023-02-10 22:09:17.940031+0530 Demoapp[23461:447504] NSURLConnection finished with error - code -1200 Can you please provide a way . any Other server images loading properly.
Hi, it's not a problem of our API. It seems it's a problem within your application, specifically about TLS connections.
If you want you can also download all the sprites and host them by yourself. We have a repo for that, pokeapi/sprites
This causes by iOS security restruction(ATS)
Review your app settings https://developer.apple.com/documentation/security/preventing_insecure_network_connections