简体   繁体   English

在本机ios应用程序中嵌入Web应用程序的最佳方法是什么?

[英]What is the best way to embed a web application inside a native ios app?

I have implemented a certain video viewer written in javaScript, HTML, CSS. 我已经实现了一个用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. 我想将我的查看器嵌入到用Swift 3编写的本机IOS应用程序中。问题是我需要查看器脱机工作,为此我需要一个从我的本机应用程序中运行的本地Node.js服务器。 Does anyone has an idea if it is possible and how to do this if it is? 有没有人知道它是否可能以及如果有的话怎么做?

Thanks in advanced 提前致谢

Drag all files in folder structure of Xcode. 拖动Xcode文件夹结构中的所有文件。 for ex. 对于前 Node.js, .css files and take one WebView wherever you want and load HTML code in that Webview. Node.js,.css文件并在任何地方获取一个WebView,并在该Webview中加载HTML代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 React Native 中开发离线首个应用程序的最佳方式是什么? - What is the best way to develop a offline first application in React Native? 将 React Web 应用程序嵌入到 React Native WebView - Embed React web application into React Native WebView 在 React Native App 中进行错误处理的最佳方法是什么? - What is the best way to do Error Handling in React Native App. 在 HTML 中嵌入 PDF 的最佳方法是什么? - What is the best way to embed a PDF in HTML? 创建JS嵌入文件的最佳方法是什么? - What is the best way to create a JS embed file? 使文本文件可用于Web应用程序的最佳方法是什么? - What's the best way to make a text file available to a web application? 将常量服务器端标签嵌入javascript代码中的最佳方法是什么? - What's the best way to embed constant server-side tags inside javascript code? 在移动Web应用程序中存储“应用程序机密”的最佳方法? - The best way to store “app secret” in a mobile web application? 部署基于 javascript 的 Web 应用程序的最佳方法是什么? - What the best way to deploy javascript based web app? 检测和存储 Web 应用程序客户端所在时区的最佳方法是什么? - What is the best way to detect and store the timezone the client of a web app is in?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM