Topic locked

Returning a 2D overlay instead of 3D in ImageTargets

March 10, 2015 - 10:56pm #1

Hi

I've been working with Vuforia for almost a year now via Android. As far as Android goes, I'm pretty familiar with the structure of the Vuforia workflow. But now Im trying to create the same type of app in iOS as I created for Anroid. I am using the ImageTargets example as a base for my app. In Android I customized the app to rerutn a simple 2D overlay (not openGL . Just an ImageView), which catches the event of Vuforia recognizing a particular target via the onResume() function. It basically pulls out the name of the target and then references a corresponding ImageView according to the name of the target.

What I'm trying to figure out is which function in the iOS version does the same thing as onResume() does in Android? Where is the part where the actual marker is recognized and the marker info is pulled from the data set?

Thanks in advance

Returning a 2D overlay instead of 3D in ImageTargets

March 12, 2015 - 2:24am #2

Question 1:

What I'm trying to figure out is which function in the iOS version does the same thing as onResume() does in Android?

on iOS, you could use viewWillAppear (in a ViewController) or applicationDidBecomeActive, for example; as this is a general iOS programming question, you may want to check the iOS developer guide.

 

Question 2:

Where is the part where the actual marker is recognized and the marker info is pulled from the data set?

See here:

https://developer.vuforia.com/forum/ios/how-retrieve-targets-name-please-help

 

 

Topic locked