Wikitude
play_for_work
Forum
FAQ
Documentation
Download
wikitude.com
How can we help you today?
Enter your search term here...
Search
Start a new topic
Discussions
Cordova, Titanium, Unity, Xamarin
Cordova Questions or Problems
A view can only be associated with at most one view controller at a time
A
Aldian Fazrihady
started a topic
over 10 years ago
A view can only be associated with at most one view controller at a time
4 Comments
Oldest First
Popular
Newest First
Sorted by
Oldest First
A
Aldian Fazrihady
said
over 10 years ago
I am using phonegap plugin and wikitude SDK for iOS.
I tap x button which execute:
I call WikitudePlugin.loadARchitectWorld("...");
I AR camera is opened. The AR view has 'done' button at the top. The 'done' button is added by wikitude sdk for iOS.
I tap the 'done' button. As expected the AR camera view closed, so x button is visible again.
I tap x button again, now AR view is failed to open, instead a got this error message:
"A view can only be associated with at most one view controller at time! View <WTArchitectView..."
How to fix this?
Thanks.
A
Andreas Schacherbauer
said
over 10 years ago
Hi,
try to work with the 'open,close,show,hide' functions, provided by the WikitudePlugin for Phonegap.
Best regards
Andreas
A
Aldian Fazrihady
said
over 10 years ago
I managed to fix this myself by directly modifying WTWikitudePlugin.m.
Now it is solved.
C
Casey Watson
said
over 10 years ago
Can you by chance provide the change that you made. We are running into the same problem.
Thanks - Casey
Login
or
Signup
to post a comment
More topics in
Cordova Questions or Problems
Show POI only on Radar, not on camera
Capture Screen
Phonegap + SenchaTouch or other frameworks
PhoneGap App Issues
iOS App Compilation Error
JSon data WikitudeSDK + PhoneGap
onExit() , Avoid to close the AR on "BackButton" - Wikitude - PhoneGap
HTMLDrawable in Phonegap Plugin
Video not playing (wikitude sdk 1.1.1 + phonegap)
Bug when using PhoneGap and opening AR view multiple times
See all 577 topics
© 2021 Wikitude, a Qualcomm company
Aldian Fazrihady