GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - chicio/Explore-WKScriptMessageHandler: :iphone: An example project created for my blog post "Web to native communication on iOS using WKScriptMessageHandler" :iphone:

BranchesTags
Open more actions menu

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
ExploreWKScriptMessageHandler.xcodeproj
ExploreWKScriptMessageHandler.xcodeproj
 
 
ExploreWKScriptMessageHandler
ExploreWKScriptMessageHandler
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 

Repository files navigation

Explore WKScriptMessageHandler

Build Status GitHub license Supported platform

An example project in which I explore how it is possible to use WKScriptMessageHandler to make some WKWebView web page to native communication.
This is a project for my blog posts Web to native communication on iOS using WKScriptMessageHandler

Description

This is a quote from the post:

Sooner or later every mobile developer in the world had the following specific need: integrate a website page inside an app. Usually the feature to be developed requires a depp integration between web and native: the app must react to some changes in the web page based on the user interactions or some other events (automatic refresh, geolocation ecc.). The old way to do this integration was to catch some url change/page load using the classical UIWebView delegate methods. But starting from iOS 8 there's a better way to do this integration using WKWebViews and WKScriptMessageHandler. In this post I will show you how is it possible to use them to call Swift code from Javascript code inside a webpage.

Click on the link above to read the posts.

About

📱 An example project created for my blog post "Web to native communication on iOS using WKScriptMessageHandler" 📱

fabrizioduroni.it/blog/

Topics

appapplecommunicationiosipadiphonejavascriptmobile-appmobile-developmentnativesample-appswiftwebwebkiwkscriptmessagehandlerwkwebview

Resources

Readme
MIT license
Activity

Stars

11 stars

Watchers

1 watching

Forks

4 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.