I'm developing an iOS application that uses both Cloud Recognition and User Defined targets. Theese are supposed to work in two different views with two different viewcontrollers but I'm having trouble getting them to work together and I've managed to find a strange bug (I think).
When changing views I change from a CREAGLView to an UDTEAGLView so I think my problem has nothing to do with rendering. I beleive my problem lies in any of the QCARUtils files I'm using.
I start my app in CR-mode and everything works fine. When I change to UDT view everything works as supposed there aswell, I can create targets etc... But the problems start when I change back from UDT to CR. After changing back to CR-view the app seems to be in constant "search-mode" and even though I show targets that it should find and that it could find before I switched to UDT-view it will keep scanning. I'm looking at the log and see that I'm receving new transactions, so I'm guessing that somewhere I have disabled target-finders ability to create new targets or something like that.
I've tried deactivating the user-defined-dataset but to no avail... I've also tried to reinitialise the visualSearch (- (void)initVisualSearch) but also to no avail. However if I DON'T reinitalise this happnes to my "Scanpoints" when i go back to the CR-view: (bild.png)
I'm using iOS and I'm trying to use push-segues to go between viewcontrollers.
I've also tried cehcing out this article: https://developer.vuforia.com/resources/dev-guide/simultaneous-use-cloud-reco-udt-and-device-databases but It dosen't help me where I'm stuck right now. Thanks in advance guys!
Also a bonus question: Is it ok to have multiple databases say two and have 1000 recos a month on each of them and manually changing between the two (I'm kind of in that position right now), without needing to pay accorind to: https://developer.vuforia.com/cloud-recognition-service