Start a new topic

Where put the Wikitude hosting link in IOS Xcode project

Where put the Wikitude hosting link in IOS Xcode project


We?ve exported the project via wikitude studio for offline using and from that we?d like to create the online version, however keeping the link with wikitude hosting. In the android version we?ve been able to do it without any trouble with: private static final String WORLD_PATH = "http://s3-eu-west-1.amazonaws.com/studio-live/660362/worlds/3eed4bba-132c-4ec7-b478-9d40f3725ad8/wikitudeStudio.html";

 

We?ve found this command on the file ?SampleCamActivity.java?

 

 

In the IOS documentation we?ve found several possibilities of URL insertion and none had the expected result. As for an example:

 

@implementation WTViewController

 

- (void)viewDidLoad

{

    ;

// Do any additional setup after loading the view, typically from a nib.

    

    self.architectView = ;

    ;

   

 self.architectWorldNavigation = ;

    

    ;

    

    ;

}

 

 

Questions:

Is it possible to use the SDK IOS file exported as offline and make it for online use hosting on Wikitude Hosting and using WIkitude Studio as content developer?

 

If so, exactly which sample file on SDK Examples should we use as guidance to do it?

 

Where exactly in the SDK IOS Xcode project must enter the Wikitude hosting link?

 

Thanks,

Denilson Saltoris

Hi Denilson,
You already had the relevant code snippet in your forum post.

;

is

;

Please also refer to the iOS API reference. It contains documentation for all Wikitude iOS SDK classes/methods.

Best regards

Andreas

Hi, Andreas, I put the line in this way described below, but it did not work. Still not activating the augments.

Is there any error in what we do?

 

@implementation WTViewController

 

- (void)viewDidLoad

{

    ;

// Do any additional setup after loading the view, typically from a nib.

    

    self.architectView = ;

    ;

    

;

    

    ;

}

 

Did you call the WTArchitectView -start: method?

What do you see when you load the view controller? A balck screen or the camera stream? What watermark is drawn? On which iOS device are you running the app, which Xcode version do you use and which iOS version is the device running?

Best regards

Andreas

 

Hello, Andreas,

We can find the problem.

In the project for offline app that comes from Wikitude Studio various configuration items should be modified as in the attached image (the image on the left is modified, the right which comes in download the app offline). After all the changes the project we tested with the link indicated by you began to work.

Grateful for your attention and assistance

 

Thx for sharing your findings. I will have a look at our template to see what we need to udpate there.

Best regards

Andreas

You're welcome.

For sure we will have more opportunities to work together and their help was essential.
Login or Signup to post a comment