Skip to content

Commit 21a8a0e

Browse files
committed
[[ dictionary ]] Remove references to UIWebView in LiveCode dictionary
This patch updates various dictionary entries to remove references to UIWebView which is no longer used by the iOS mobile browser control.
1 parent 4e9c5d4 commit 21a8a0e

5 files changed

Lines changed: 17 additions & 31 deletions

File tree

docs/dictionary/command/mobileControlDo.lcdoc

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -53,23 +53,16 @@ are defined in the <action> listing section below.
5353
**<action> listing: **
5454

5555
**Browser Specific Actions**
56-
- "advance": Move forward through the history (wraps the goForward
57-
method of UIWebView).
58-
- "retreat": Move backward through the history (wraps the goBack
59-
method of UIWebView).
60-
- "reload": Reload the current page (wraps the reload method of
61-
UIWebView).
62-
- "stop": Stop loading the current page (wraps the stopLoading method
63-
of UIWebView).
56+
- "advance": Move forward through the history.
57+
- "retreat": Move backward through the history.
58+
- "reload": Reload the current page.
59+
- "stop": Stop loading the current page.
6460
- "load", *baseUrl*, *htmlText*: Loads as page consisting of the given
65-
htmlText with the given baseUrl (wraps theloadHtmlString method of
66-
UIWebView). Takes the following additional parameters:
61+
htmlText with the given baseUrl. Takes the following additional parameters:
6762
- *baseUrl*
6863
- "*htmlText*
6964
- "execute", *script*: <evaluate|Evaluates> the given JavaScript script in the
70-
context of the current page (wraps the
71-
stringByEvaluationJavaScriptFromString method of UIWebView). Takes
72-
the following additional parameter:
65+
context of the current page. Takes the following additional parameter:
7366
- *script*
7467

7568
**Scroller Specific Actions (iOS Only)**

docs/dictionary/command/mobileControlSet.lcdoc

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,14 @@ control is no longer on the current view.
7373

7474
- "URL": the URL to be loaded into the web-view.
7575
- "autoFit" (iOS Only): set to true or false to determine whether the
76-
page is scaled to fit the rect of the control (wraps the scalesPageToFit
77-
property of UIWebView).
76+
page is scaled to fit the rect of the control.
7877

7978
- "delayRequests" (iOS Only): set to true to cause the loadRequest
80-
message to be sent. Note: In this mode, web-pages that trigger
81-
sub-document loads (such as those containing iframes) do not load
82-
correctly.
79+
message to be sent.
8380

8481
- "dataDetectorTypes" (iOS Only): Use this property to specify the types
8582
of data that should be automatically converted to clickable URLs in the
86-
web-view. This property wraps the dataDetectorTypes property of
87-
UIWebView. It is specified as a comma-delimited list of one or more of
83+
web-view. It is specified as a comma-delimited list of one or more of
8884
the following properties:
8985

9086
- "phone number":
@@ -94,14 +90,10 @@ the following properties:
9490

9591

9692
- "allowsInlinePlayback" (iOS Only): set to true if the web-view should
97-
allow media files to be played 'inline' in the page (wraps the
98-
allowsInlineMediaPlayback property of the UIWebView). This property is
99-
only available on iOS4.0 and later
93+
allow media files to be played 'inline' in the page.
10094

10195
- "mediaPlaybackRequiresUserAction" (iOS Only): set to false to allow
102-
media files to play automatically in the webview (wraps the
103-
mediaPlaybackRequiresUserAction property of the UIWebView). This
104-
property is only available on iOS4.0 and later.
96+
media files to play automatically in the webview.
10597

10698
- "scrollingEnabled": specifies whether or not the browser can be
10799
scrolled (boolean).

docs/dictionary/message/browserLoadRequest.lcdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Handle the <browserLoadRequest> message to perform an action when a URL
4141
has been requested.
4242

4343
The <browserLoadRequest> message is sent to the object containing the
44-
script that created the UIWebView browser control after a url has been
44+
script that created the mobile browser control after a url has been
4545
requested.
4646

4747
Not passing the message causes the load request to not go ahead.

docs/dictionary/message/browserLoadRequested.lcdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Handle the <browserLoadRequested> message to perform an action when a
3636
URL has been requested.
3737

3838
The <browserLoadRequested> message is sent to the object containing the
39-
script that created the UIWebView browser control after a url has been
39+
script that created the mobile browser control after a url has been
4040
requested and passed for loading.
4141

4242
If <delayRequests(command)> has been set to false,

docs/dictionary/object/iosBrowser.lcdoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Type: object
55
Syntax: iosBrowser
66

77
Summary:
8-
A native iOS control, UIWebView, that displays a browser.
8+
A native iOS control that displays a browser.
99

1010
Introduced: 4.5.3
1111

@@ -23,10 +23,11 @@ mobileControlSet sBrowserID, "visible", "true"
2323
mobileControlSet sBrowserID, "url", "http://www.livecode.com"
2424

2525
Description:
26-
An iosBrowser(UIWebView) control is created using a control type of
26+
An iosBrowser control is created using a control type of
2727
"browser".
2828

29-
>*Note:* For full details of what the UIWebView control is capable of,
29+
>*Note:* The iOS browser control is based on WKWebView.
30+
> For full details of what the WKWebView control is capable of,
3031
> and background about it see the iOS reference document.
3132

3233
References: mobileControlDelete (command), mobileControlDo (command),

0 commit comments

Comments
 (0)