Skip to main content
Participant
November 2, 2012
Question

Xcode: loading HTML5 questions from local storage

  • November 2, 2012
  • 1 reply
  • 1044 views

Version: Captivate 6

Output type: HTML5 loaded as local files within an Xcode iOS project.

Not sure at this point if the problem is with Xcode or the Captivate files.

The requirement is to load 'offline' local Captivate quizzes within an iOS application. The HTML5 output from Captivate loads absolutely fine when stored on a web server and viewed through the browser (Safari) on the iPhone. The puzzling bit is when I load the files into an Xcode project and view them through a UIWebView locally the Captivate content does load properly, although it does load a grey placeholder style box in a HTML page - the content does not initiate. See screen grab.

I am conscious the Captivate HTML5 output contains a lot of javascript files and have made sure these are included in the Copy Bundle Resources rather than the Compile Sources.

I made a simple local HTML page and the content in this renders absolutely fine in application, using the UIWebView also to view the content on a webserver within the app works fine.

Any suggestions?

This topic has been closed for replies.

1 reply

Known Participant
January 21, 2013

I'd suggest using Safari and set the UserAgent to be an iphone and see if there is anything in the error console. That might give you a clue.

Fergal