TAG

Safari

  • December 4, 2020
  • December 26, 2020

Which class we should use? WKWebView or SFSafariViewController

UIWebViewClass was deprecated and we need to replace it with WKWebView or SFSafariViewController. Which class we should use? I think we use WKWebView normally, but SFSafariViewController has enough functionality in some case. Requirements It is decided which class can be used by requirements. You want to do something just before or after loading pages. You want to know the URL of loading pages. You want to execute JavaScript on loaded pages. If you want to do above, you need to use WKWebView. SFSafariViewController can not do above. Requirements are really needed? “We want to do something just after loading pages.”. […]

>Programming Tips From Software Engineer

Programming Tips From Software Engineer

Technical News, Documents and Tips.

CTR IMG