Option 1: Use URL (store files online):
Create a mobile-optimized website, for example using jQuery Mobile and upload your site to your webspace, for example using a webspace package from 1&1. Please make sure to optimize your website to feel like an app. For example may disallow user zooming:
<meta name="viewport" content="width=device-width, user-scalable=no" />
Option 2: Use local HTML folder (store files within the app):
This Xcode project supports local HTML folders within the project too: Just copy your html/css/js files to xcode and set uselocalhtmlfolder to true (see next step). IMPORTANT: Import every single file into Xcode by dragging them into Xcode. Placing all files to root folder might be important (so do not access "css/style.css" but "style.css").
In the first step, please decide wether to use the Swift or the Objective-C edition of WebViewGold:
Swift edition is recommended for most cases.
Just unzip the folder of your choice:
Open WebView.xcodeproj afterwards:
Within Xcode, open WebViewController.swift (if you use Swift source code) or ViewController.m (if you use Objective-C source code) and you will see a document like this:
Here you are able to setup your app easily.
It's very easy to change the Display Name of your app:
Just insert a new name which should be display on iOS home screen.
Afterwards include your own App Icon and Launch Image:
Just replace the included image files with your own resized image files. Or just use this nice tool: Asset Catalog Creator - App Icon, Image Set & Launch Screen Generator for iOS & OS X by Bridge Technologies Limited (we are not affiliated with the developer company).
<script> var seconds = 120; //seconds from now on var message = "It is Happy Hour now! Check it out!"; //the message var button = "Open App"; //the text of the button window.location.href = "sendlocalpushmsg://push.send?s="+ seconds +"=msg!"+ message +"&!#"+ button +""; </script>
<script> window.location.href = "sendlocalpushmsg://push.send.cancel"; </script>
Save images to the camera roll of the user by running this script on your website:
<script> var imgurl = "https://www.example.org/example.png"; //Image URL window.location.href = "savethisimage://?url="+ imgurl +""; <script>
To build your app click on Run:
Want to publish your app in App Store?
Use your Apple Developer Program Subscription to publish your app in App Store.
All rights (e.g. of images) belong to their respective owners. The provider of this source code is OnlineAppCreator.com c/o jocapps GmbH - registered in Germany - and is not affiliated with Apple.
Please take a look for license info of your CodeCanyon purchase: https://codecanyon.net/licenses/standard
This template contains the framework MKAdditions - please read the license info:
IOS is a registered trademark of Cisco and used under license by Apple Inc.
iPad, iPhone, iPod, Xcode, and Xcode logo are registered trademarks of Apple Inc.
If you have 10 seconds, please rate this project (it is a great motivation for future updates ^^):
1. Go to CodeCanyon.net and sign in
2. Navigate to https://www.codecanyon.net/downloads
3. Click the stars, like shown in this picture:
Take a look here.