Log in or register to post comments

Vuforia SDK: how to add UIButton (or other UI) over the AR View?

November 7, 2012 - 12:00pm #1

In the sample project, there is an ARParentViewController which contains on OverlayViewController and an ARViewController.

I've added a ViewController to a storyboard in XCode, and I've assigned the ARParentViewController to that class.

But I would like to add UI to the AR view. For instance, in the storyboard, I create a button. I then connect it (IBOutlet) to the ARParentViewController class, and then add it as a sub-view to the main view of the controller. But that doesn't work...

So, I'm just wondering, what is the proper way to superimpose UI over top of the AR view?

Thanks!

Vuforia SDK: how to add UIButton (or other UI) over the AR View?

July 22, 2016 - 12:42pm #7

Is there some way to create a static (always present) menu interactive (with buttons, popup text, etc.), no matter if the image target is in focus (I mean, if it is present on the camera view) or not when the AR camera is on use?

Vuforia SDK: how to add UIButton (or other UI) over the AR View?

February 10, 2016 - 10:03am #6

hello my dears!

this problem has a simpel solution

 

please see this link:

http://www.himix.lt/augmented-reality/augmented-reality-user-interface-unity3d/

Vuforia SDK: how to add UIButton (or other UI) over the AR View?

June 28, 2013 - 6:35am #5

and how is the progress? did you manage?

Vuforia SDK: how to add UIButton (or other UI) over the AR View?

November 8, 2012 - 6:07am #4

I think I may be making some progress by customizing the OverlayView class.

Vuforia SDK: how to add UIButton (or other UI) over the AR View?

November 8, 2012 - 5:25am #3

Hi Nalin,

Appreciate the link. I was already able to get Vuforia working with storyboards with no trouble.

My challenge is, I'm not using a UINavigationController in my app. I'm just making the ARParentViewController modal. So, the thing is, I need to put a button on that view that allows me to close the modal view. That's where I'm stuck.

A UINavigationController solves the problem, except that it doesn't work with the flow of my app.

So yeah, all I really want to know how to do is place a UIButton in the view of the ARParentViewController. I'll keep working away at it...

Vuforia SDK: how to add UIButton (or other UI) over the AR View?

November 8, 2012 - 2:37am #2

Hi jacksmash

Can I point you to this thread:

https://ar.qualcomm.at/content/qcar-inside-uinavigationcontroller

...where a developer has posted up a sample that integrates with Storyboards, and it works really well :)

N

Log in or register to post comments