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
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -205,23 +205,23 @@ InAppSettingsKit adds a new element `IASKOpenURLSpecifier` that allows to open a
205
205
206
206
## Web View Controller
207
207
To open a specified URL inside your application, `IASKAppSettingsWebViewController` displays a fullscreen View Controller with an embedded [`WKWebView`](https://developer.apple.com/documentation/webkit/wkwebview).
208
-
By default is shows an indeterminate activity indicator on the right side of the Navigation Bar when a page is loading.
208
+
By default it shows an indeterminate activity indicator on the right side of the navigation bar when a page is loading.
209
209
210
-
The Web View Controller can be defined in the Settings plist by using the following mandatory IASKSpecifier properties:
210
+
The Web View Controller can be defined in the Settings plist by using the following mandatory properties:
211
211
212
212
- `Type`: set to `PSChildPaneSpecifier`
213
213
- `IASKViewControllerClass`: set to `IASKAppSettingsWebViewController`
214
214
- `IASKViewControllerSelector`: set to `initWithFile:specifier:`
215
215
- `Title`: the localized title of the row
216
216
- `File`: corresponds to the URL you want to load (e.g. "https://www.futuretap.com")
217
217
218
-
Use the following optional IASKSpecifier properties to customize the Web View Controller:
218
+
Use the following optional properties to customize the Web View Controller:
219
219
220
-
- `IASKWebViewShowProgress`: set to `YES` to replace the default activity indicator on the Navigation Bar by a progress bar just below the Navigation Bar, which dynamically updates according to the [`estimatedProgress`](https://developer.apple.com/documentation/webkit/wkwebview/1415007-estimatedprogress) property of [`WKWebView`](https://developer.apple.com/documentation/webkit/wkwebview).
220
+
- `IASKWebViewShowProgress`: set to `YES` to replace the default activity indicator on the navigation bar by a progress bar just below the navigation bar, which dynamically updates according to the [`estimatedProgress`](https://developer.apple.com/documentation/webkit/wkwebview/1415007-estimatedprogress) property of [`WKWebView`](https://developer.apple.com/documentation/webkit/wkwebview).
221
221
The progress bar will be removed when page loading completes.
222
-
- `IASKWebViewShowNavigationalButtons`: set to `YES` to show navigational buttons on the right side of the Navigation Bar. Their enable state will update dynamically based on the navigation history of the [`WKWebView`](https://developer.apple.com/documentation/webkit/wkwebview).
223
-
- `IASKWebViewHideBottomBar`: set to `YES` to hide the toolbar at the bottom of the screen when the `IASKAppSettingsWebViewController` is pushed on to a navigation controller. This will present the [`WKWebView`](https://developer.apple.com/documentation/webkit/wkwebview) full screen and prevents situations where the user can navigate the tab bar while the `IASKAppSettingsWebViewController` stays still present.
224
-
This setting is ignored when the `IASKAppSettingsWebViewController` is presented modally.
222
+
- `IASKWebViewShowNavigationalButtons`: set to `YES` to show navigational buttons on the right side of the navigation bar. Their enabled state will update dynamically based on the navigation history of the [`WKWebView`](https://developer.apple.com/documentation/webkit/wkwebview).
223
+
- `IASKWebViewHideBottomBar`: set to `YES` to hide the tab bar at the bottom of the screen when the `IASKAppSettingsWebViewController` is pushed on to a navigation controller. This will present the [`WKWebView`](https://developer.apple.com/documentation/webkit/wkwebview) full screen and prevents situations where the user can navigate the tab bar while the `IASKAppSettingsWebViewController` stays still present.
224
+
This setting is ignored when `IASKAppSettingsWebViewController` is presented modally.
225
225
226
226
For more details, open the [Sample application](#sample-application) and take a look at all rows that start with **WebView**.
0 commit comments