Our app design
Our app is going to be essentially a single view application with all of our functionalities being placed offscreen when it's not in use but still present within the view and ultimately owned by the view controller.
This is a nice and easy way to ensure that UIWebView
, which is maintaining our session with the server, is always in memory, and so that we're not getting a new identity with the server every time, the view is released by our application.
The following figure gives a much clearer indication of how our app is designed: