WebViewJavascriptBridge is an Objective-C bridge framework that enables message-based communication between Objective-C and JavaScript in UIWebView, WebView, and WKWebView contexts on iOS and macOS. In the dialog that appears, uncheck "Copy items into destination group's folder" and select "Create groups for any folders". This library relies on ARC, so if you use ARC in you project, all works fine. But if your project have no ARC support, be sure to do next steps. Speed up bridge message passing by disabling the setTimeout safety check. It is only safe to disable this safety check if you do not call any of the javascript popup box functions (alert, confirm, and prompt). If you call any of these functions from the bridged javascript code, the app will hang.

Features

  • Bi-directional messaging between native Obj-C and JavaScript
  • Supports UIWebView, WebView (macOS), and WKWebView
  • Easy setup via CocoaPods or manual installation
  • Handler registration and callback response mechanism
  • Used in major apps like Facebook Messenger and Paper
  • MIT-licensed and widely adopted in hybrid app development

Project Samples

Project Activity

See All Activity >

Categories

Communications

License

MIT License

Follow WebViewJavascriptBridge

WebViewJavascriptBridge Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of WebViewJavascriptBridge!

Additional Project Details

Operating Systems

Apple iPhone, Mac

Programming Language

Objective C

Related Categories

Objective C Communications Software

Registered

2025-09-08