快速封裝 WebApp 到 iOS 應用
ios-universal-webview-boilerplate: 快速封裝 WebApp 到 iOS 應用,即便你毫無 Swift 編程經驗。
This is an Xcode 6 Universal project that allows you to wrap your website or web app in a super simple iOS app.
Setup
- Clone this repo, or hit "Download ZIP" in the Github sidebar.
Local mode (recommended)
- Replace the stuff inweb_contentwith your own mobile website.
- Hit Run!
Internet mode
- InViewController.swift, switch around the commented out URL lines.
- Set your URL...
- Hit Run!
Why?
So you can build an iOS app in HTML/CSS/JS without using Cordova.
HTML web apps are totally awesome for layout content and typography. Tons of big apps like Instagram use HTML layouts and CSS styling for parts of their apps.
If you are a web developer who wants to release an iOS app, this should help you cut some corners when it comes to learning Swift.
Ideal use
Single page web app with on-screen/no navigation. For example, a game, interactive page, web based slideshow, etc.
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!