-
Notifications
You must be signed in to change notification settings - Fork 61
Manual: Demo Project Overview
The Demo Project is a simple App with an PARView and an MapView with a TabBar-Navigation.
This is a sub-class of PARViewController and handles all AR-related tasks including creation and management of the PARView.
The loadView
and viewDidLoad
methods handle the setup of the PARController (which is an automatically created singleton – you can retrieve it with [PARController sharedARController]
).
The setup uses deviceSupportsAR
to retrieve the device capabilities and check if they support Augmented Reality functionality. An UIAlertView
is displayed should there be any incompatibilities with the device capabilities. The messages displayed by the UIAlertView
are completely localizable (based on NSLocalizedString
).
The createARPoiObjects
method creates a number of test POIs based on the DefaultPoiLabel.xib
template file.
This view wraps an MKMapView which – on becoming visible - adds all AR objects from [[PARController sharedARController] arObjects]
as annotations to the MapView.
Debug Target
The Debug Target uses the Debug Version of the Framework and adds the Console to the UI of the demo App.
Release Target
The Release Target uses the Release Version of the Framework and removes the Console from the UI of the demo App.