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:

Our app design

Views hidden until required

Get Learning iBeacon now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.