The Startup
Published in

The Startup

Web to native code communication on iOS using WKScriptMessageHandler

Did you know that it is possible to call Swift code from the JavaScript code of a web page displayed inside a WKWebView?

Sooner or later every mobile developer in the world had the following specific need: integrate a website page inside an app. Usually the integration to be developed requires a deep integration between web and native: the app…

--

--

--

Get smarter at building your thing. Follow to join The Startup’s +8 million monthly readers & +756K followers.

Recommended from Medium

Pass Parameters in Tap Gestures

Journal: Creating an iOS App Using GraphQL

Reuse a UITableViewCell as a UIView

9 little things to make your iOS application cooler

Abstract Factory Design Pattern

Playing a Video in a UICollectionViewCell

Flow Coordinators Using Swift

Avoid Long Parameter Lists in Swift

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Fabrizio Duroni

Fabrizio Duroni

I'm a software developer 🤓. I ❤️ mobile application development, computer graphics and web development. I ❤️ computers. https://www.fabrizioduroni.it/

More from Medium

5 Best iOS Design Patterns in Swift to Develop Powerful iPhone Apps

Native vs Hybrid- Which One To Choose For Mobile App Development?

Top 12 iOS App Development Trends to Watch Out For in 2022

Displaying FCM notifications on iOS Simulators