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
Wikitude SDK (Android, iOS, UWP)
Wikitude SDK Questions or Problems
pathForResource?
J
Joanan Hernandez
started a topic
almost 8 years ago
pathForResource?
3 Comments
Oldest First
Popular
Newest First
Sorted by
Oldest First
J
Joanan Hernandez
said
almost 8 years ago
Hello,
I'm playing with the simpleARbrowser example you guys have. Within it, it has:
// specify a url for the architect world. this can be a local resource from the bundle, or a web link
NSString *architectWorldURL = ;
I need to put the .html file on a server but it didn't worked. How do I define the pathForResource? I tried putting:
NSString *architectWorldURL = ;
Also, do I have to change anything else on the code so the file loads up from the server?
Thanks in advance.
A
Andreas Schacherbauer
said
almost 8 years ago
Hi,
you simply need to supply a NSString object containing the url of your world. The WTArchitectView does all the loading internal.
Sample:
NSString *urlOnMyServer = @"
http://myServer.com/path/to/my/world.html
";
;
(Didn't compile the code but you should get the idea)
best regards
Andreas
J
Joanan Hernandez
said
almost 8 years ago
Thanks man!
Cheers.
Login
or
Signup
to post a comment
More topics in
Wikitude SDK Questions or Problems
Instatiation of WTArchitectView compile errors
Point of interest - native iOS
Slider
Camera lagging / slow in native Swift application
Create a web service
N-th ImageDrawable not displayed
Radar Example
stop defaultlocationmanager and use architectview.injectlocation ios 10
WTC Size Limit
AngularJS and wikitude
See all 3739 topics
© 2020
Wikitude
GmbH ·
Imprint
·
Legal
Joanan Hernandez