You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,19 +17,21 @@ I know, using a Wrapper-App to display a Website can feel a bit odd. But there a
17
17
- Provides a native iOS navigation header.
18
18
- Sets up a WKWebView instance just the way PWAs/SPAs like it.
19
19
- Provided your Web App is Offline-capable, it only needs an Internet connection on the first startup. If this fails, it shows a native refresh widget.
20
-
- Opens all external URLs in the device's Browser instead.
21
-
- Automatically fetches Updates for your Web App.
20
+
- Opens all external URLs in the device's Browser / 3rd party apps instead.
21
+
- Automatically fetches updates of your Web App.
22
22
23
23
## How to build your own
24
24
- Clone/fork repository and open in Xcode
25
25
- Head over to `Constants.swift` and
26
26
- add your app's name and the main URL to fetch
27
27
- set the host you want to restrict your app to
28
+
- add your custom Javascript string to open your Web App's menu.
29
+
- this is injected into the site when the "Menu" button is pressed. This wrapper assumes you're hiding your Web App's header in favor of the native App navigation and show/hide your menu via Javascript.
28
30
- customize the colors
29
31
- tweak the other options as you prefer
30
32
- Put your own App icons in place in `Assets.xcassets`
31
33
- Remember, 1pt equals 1px on 1x-size. E.g., if you have to provide a 20pt icon of 3x-size, it has to be 60x60px.
32
-
- iOS doesn't like transparency, use background colors.
34
+
- iOS doesn't like transparency, use background colors on your icons.
33
35
- I like using [App Icon Maker](http://appiconmaker.co), but any other similar service will do it as well.
0 commit comments