Trying to connected my swift application to the server in order to get the data, I got this error when I tested the app in the simulator and the device having iOS 10:
subsystem: com.apple.libsqlite3, category: logging, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, privacy_setting: 2, enable_private_data: 0
and also this:
App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
I was first thinking that the problem is with the
You have to replace
with your own domain, and without 'http://'