WWDC2021 Explore WKWebView Additions

«  WWDC2021 What's New in UIKit
Swift String Literals  »

SFSafariViewController

WKWebView

JS API

  • access theme color
    • underPageBackgroundColor
    • themeColor
  • manage text interaction

  • control media playback

Browser API

  • Disable HTTPS upgrade

  • Control media capture
    • getUserMedia
    • origin request can be the app
    • decide when to re-prompt user
  • Manage downloads
    • Use WKDownload and WKDownloadDelegate

Reference

Published on 10 Jun 2021 Find me on Facebook, Twitter!

«  WWDC2021 What's New in UIKit
Swift String Literals  »

Comments

    Join the discussion for this article at here . Our comments is using Github Issues. All of posted comments will display at this page instantly.