Reputation: 493
My iPhone application does some processing on a server, and I save the url in a core data database so that every time the application is run I can read the url value from the database.
My issue is: if this url value changes, my application will stop working. How can I get the url value dynamically without storing it in a database so that if url is changed, my application will continue working?
Upvotes: 0
Views: 72
Reputation: 18488
You could get get it from any server, open a NSURLConnection class reference and read the response. So basically at the beginning your app would always check with the server to make sure it has the latest URL.
Upvotes: 1