"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

How to add a UIButton in the EAGLView

I want to close the AR in my app with a button, not with the Gesture. Can you help? Tried adding in the ImageTargetsEAGLView and in the ImageTargetsViewController ( [eaglView addSubview:btnClose]) with no succes.

 

Thanks

r2developer

Mon, 01/29/2018 - 03:55

In my case, I add button in view controller.

When I found an object. Using Notification Center send command to view controller.

It work for me. good luck.