Skip to content

Commit

Permalink
fix(ios): remove old UIWebView left overs (#11191)
Browse files Browse the repository at this point in the history
  • Loading branch information
hansemannn authored and ssjsamir committed Sep 4, 2019
1 parent 22f7f88 commit fdf042a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 7 deletions.
24 changes: 24 additions & 0 deletions apidoc/Titanium/UI/iOS/iOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1614,6 +1614,10 @@ properties:
type: Number
permission: read-only
since: "2.1.0"
deprecated:
since: "8.2.0"
removed: "8.2.0"
notes: "Not used with Titanium SDK 8.0.0 and later by replacing UIWebView with WKWebView."

- name: WEBVIEW_NAVIGATIONTYPE_FORM_SUBMITTED
summary: User submitted a form.
Expand All @@ -1624,6 +1628,10 @@ properties:
type: Number
permission: read-only
since: "2.1.0"
deprecated:
since: "8.2.0"
removed: "8.2.0"
notes: "Not used with Titanium SDK 8.0.0 and later by replacing UIWebView with WKWebView."

- name: WEBVIEW_NAVIGATIONTYPE_BACK_FORWARD
summary: User tapped the back or forward button.
Expand All @@ -1634,6 +1642,10 @@ properties:
type: Number
permission: read-only
since: "2.1.0"
deprecated:
since: "8.2.0"
removed: "8.2.0"
notes: "Not used with Titanium SDK 8.0.0 and later by replacing UIWebView with WKWebView."

- name: WEBVIEW_NAVIGATIONTYPE_RELOAD
summary: User tapped the reload button.
Expand All @@ -1644,6 +1656,10 @@ properties:
type: Number
permission: read-only
since: "2.1.0"
deprecated:
since: "8.2.0"
removed: "8.2.0"
notes: "Not used with Titanium SDK 8.0.0 and later by replacing UIWebView with WKWebView."

- name: WEBVIEW_NAVIGATIONTYPE_FORM_RESUBMITTED
summary: User resubmitted a form.
Expand All @@ -1654,6 +1670,10 @@ properties:
type: Number
permission: read-only
since: "2.1.0"
deprecated:
since: "8.2.0"
removed: "8.2.0"
notes: "Not used with Titanium SDK 8.0.0 and later by replacing UIWebView with WKWebView."

- name: WEBVIEW_NAVIGATIONTYPE_OTHER
summary: Some other action occurred.
Expand All @@ -1664,6 +1684,10 @@ properties:
type: Number
permission: read-only
since: "2.1.0"
deprecated:
since: "8.2.0"
removed: "8.2.0"
notes: "Not used with Titanium SDK 8.0.0 and later by replacing UIWebView with WKWebView."

- name: TABLEVIEW_INDEX_SEARCH
summary: String that represents the magnifying glass on the table view index bar
Expand Down
7 changes: 0 additions & 7 deletions iphone/Classes/TiUIiOSProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -721,13 +721,6 @@ - (id)createDynamicItemBehavior:(id)args
MAKE_SYSTEM_STR(COLOR_GROUP_TABLEVIEW_BACKGROUND, IOS_COLOR_GROUP_TABLEVIEW_BACKGROUND);
MAKE_SYSTEM_STR(TABLEVIEW_INDEX_SEARCH, UITableViewIndexSearch);

MAKE_SYSTEM_PROP(WEBVIEW_NAVIGATIONTYPE_LINK_CLICKED, UIWebViewNavigationTypeLinkClicked);
MAKE_SYSTEM_PROP(WEBVIEW_NAVIGATIONTYPE_FORM_SUBMITTED, UIWebViewNavigationTypeFormSubmitted);
MAKE_SYSTEM_PROP(WEBVIEW_NAVIGATIONTYPE_BACK_FORWARD, UIWebViewNavigationTypeBackForward);
MAKE_SYSTEM_PROP(WEBVIEW_NAVIGATIONTYPE_RELOAD, UIWebViewNavigationTypeReload);
MAKE_SYSTEM_PROP(WEBVIEW_NAVIGATIONTYPE_FORM_RESUBMITTED, UIWebViewNavigationTypeFormResubmitted);
MAKE_SYSTEM_PROP(WEBVIEW_NAVIGATIONTYPE_OTHER, UIWebViewNavigationTypeOther);

#ifdef USE_TI_UIIOSAPPLICATIONSHORTCUTS
- (id)createApplicationShortcuts:(id)args
{
Expand Down

0 comments on commit fdf042a

Please sign in to comment.