Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26095] iOS 12: UIWebView deprecated in favor of WKWebView

GitHub Issuen/a
TypeStory
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2018-12-19T00:51:43.000+0000
Affected Version/sRelease 7.4.0
Fix Version/sRelease 8.0.0
ComponentsiOS
Labelsn/a
ReporterHans Knöchel
AssigneeVijay Singh
Created2018-06-05T18:08:49.000+0000
Updated2019-03-25T03:30:06.000+0000

Description

The deprecation is here! Since WKWebView launched in iOS 8, it now officially replaces the UIWebView, bringing better performance and scalability. We need to move our Ti.WKWebView module into the core, removing the Ti.App.fireEvent functionality if not bridgeable and make sure to get as much backwards compatibility out of it as possible.

Attachments

FileDateSize
test.html2018-07-11T07:25:33.000+0000966

Comments

  1. Joshua A. Ceaser 2018-06-15

    When using the Ti.WKWebView module I noticed there's no support for requestHeaders. I hope this will be supported in the upgrade.
  2. Vijay Singh 2018-07-11

    PR - https://github.com/appcelerator/titanium_mobile/pull/10169 Test cases - Find at https://gist.github.com/vijaysingh-axway/2b9931d0dea0fb491425c6d1592c3120
  3. Hans Knöchel 2018-07-19

    Please also implement the cookie changes - NSHTTPCookie is not compatible with the WKWebView. Instead, use the WKHTTPCookie API for iOS 11+ and the fallback mentioned [here](https://stackoverflow.com/questions/26573137/can-i-set-the-cookies-to-be-used-by-a-wkwebview) for iOS < 11.
  4. Lokesh Choudhary 2018-12-19

    FR Passed. Waiting for merge to be enabled.
  5. Lokesh Choudhary 2018-12-19

    PR Merged.
  6. Samir Mohammed 2018-12-20

    Closing ticket, improvement verified in SDK Version 8.0.0.v20181219104517 Test and other information can be found at: https://github.com/appcelerator/titanium_mobile/pull/10169
  7. Matthew Delmarter 2019-02-14

    Can't see any test where local images are being loaded? Opened a new ticket about this here: AC-6140 Also would be really good to see advanced examples of the WebView included in the KitchenSink 2 project.
  8. Jason Kotchoff 2019-03-25

    Looks like it doesn't support Ti.UI.SIZE for height per: Aptana StudioAPSTUD-8523
  9. Matthew Delmarter 2019-03-25

    [~cornflakesuperstar] I recommend you open this as a new issue. Good catch.
  10. Jason Kotchoff 2019-03-25

JSON Source