• 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.”. […]

  • November 30, 2020
  • December 26, 2020

UIWebView was deprecated

There are 3 classes to embed the web browser into the iOS app. UIWebView class WKWebView class SFSafariViewController class UIWebView class was deprecated long time ago, now the AppStore doesn’t allow using UIWebView class. According to this post, if you upload the apps that uses it, the App Store reject the new apps after April 2020, and updates for exiting apps after December 2020. What should we do? Basically, you need to migrate to the WKWebView class, but it is case by case. If you use the embedded browser to show the support site or authorize with the OAuth2, you […]

>Programming Tips From Software Engineer

Programming Tips From Software Engineer

Technical News, Documents and Tips.