I am trying to integrate a framework/kernel into a simple .h and .m file in ios. The instructions for code are below in full. I want a button that when pressed launches the view controller
Where would I put this under viewdid load for example?
+(AKViewController*)aurasmaViewControllerWithDelegate: (id)delegate;
How do I present the view controller and where.
Embedding the Aurasma Kernel: The Code
The Aurasma Kernel can easily be embedded into your own app with only a few lines of code and by setting the appropriate build options. The entire Aurasma Kernel is controlled by a single view controller, AKViewController - instantiating and presenting this view controller is all that is needed. An AKViewController can be created using the following convenience creator provided in AKViewController.h: +(AKViewController*)aurasmaViewControllerWithDelegate: (id)delegate; Presenting the returned ViewController modally will run Aurasma. The Aurasma Kernel requires a delegate which implements a single method: - (void)aurasmaViewControllerDidClose:(AKViewController*)aurasmaViewController; This delegate method is called whenever the Aurasma View Controller wishes to return program control to the host application.