By mukuu
on Wed, 01/15/2014 - 11:30
Hello sir,
I am trying to build a application where on button click i am calling the qcar code then,
in scanning mode as the image is tracked i am changing the view controller.
The problems are
1.I cant stop the AR in background even though i changed the controller
2. I a m not getting the view hierarchy .
I am referring the books sample.
Please sir help me .i am stuck and getting any help or resources from internet.
Thank You
How to stop AR when moving to other controller
How to stop AR when moving to other controller
[quote=NalinS]
[/quote]
Nalin,
How to stop AR when moving to other controller
In my experience this has proved to be the best strategy, rather than initialising and deinitialising Vuforia which some developers have experienced problems with.
How to stop AR when moving to other controller
Cool. Makes sense. I'm trying to find where you guys do that with the Books example (or at least the equivalent), but no luck so far. Any advice?
How to stop AR when moving to other controller
Sorry... ignore my last. The Books example doesn't ever leave the BooksViewController.
How to stop AR when moving to other controller
It should do this automatically
In the latest Books sample it is using stopAR
- (void)viewWillDisappear:(BOOL)animated {
How to stop AR when moving to other controller
Thanks. I think the reason you don't see it in viewWillAppear:animated is simply because the XIB gets instantiated EVERY time the experience is loaded. For example, if I go into the Cloud Recognition experience, back out, and then go in again...