Simple Universal Webview App
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 in
www
with your own mobile website. - Hit Run!
Internet mode
- In
ViewController.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.