This is a simple iOS client which has been built to access the REST services the web app provides. This is built using Swift 4.0, iOS SDK 12.1 and XCode 10.1
iOS requires that a app explicitly states URLs where it's permitted to make plain text HTTP connections. This is currently configured to allow connections to "localhost" which is fine if you are running in the Simulator to talk back to locally running instance of Cars_Sample_App.
To add additional hosts to this:
- Open the project in XCode
- Locate the Info.plist file in The Project Navigator
- Navigate through the tree
- App Transport Secuirty Settings
- Exception Domains
- Here you will see a entry for "localhost"
- Copy and Paste this to create a new entry
- You should now have "localhost - 2". Update this with the new domain
- Rebuild the app
You can also just update the localhost entry alone if you don't want to have that any more