1

I have implemented a certain video viewer written in JavaScript, HTML, CSS. I want to embed my viewer in a native iOS app written in Swift 3. The problem is that I need the viewer to work offline and for that I need a local Node.js server that runs from within my native app.

How could I do this?

mkrieger1
  • 19,194
  • 5
  • 54
  • 65
dod
  • 141
  • 1
  • 1
  • 5

1 Answers1

0

Drag all files in folder structure of Xcode. for ex. Node.js, .css files and take one WebView wherever you want and load HTML code in that Webview.

  • Please let me know if still you have any problem –  Dec 29 '16 at 12:02
  • I know I can use WKWebView object to display web content but that is the problem, the problem is running the node.js server locally in the native app – dod Dec 31 '16 at 12:01