I'm using the Xamarin extension and am having great success. However, I'm wanting to navigate to another screen/view controller/activity within the AR javascript code. How can I accomplish this? Basically when a target is detected I'd like to have the app navigate to another screen/view controller/activity. Any sample code out there that is specific to the Xamarin extension?
Thanks,
Mike
A
Andreas Schacherbauer
said
over 8 years ago
Hi Mike, You can use the WTArchitectView delegate property to provide an implementation for the -architectView:invokedURL: method. This method is called when your write something like this in your ARchitect World: 'document.location = 'architectsdk://myCustomString?WithParameters&ThatICanParseIn&MyNativeApplication'; Once you have the call in your native application, you can do what ever you want, e.g. push another view controller.
We also have a sample application available on our GitHub page.
Best regards
Andreas
S
Sasanka.m
said
about 3 years ago
Hi Andreas,
Could you please share the sample application available on our GitHub page once again. I just checked the page, but not able to view it.
Mike Berlin