hero

Subcribe My WeChat Account

An iOS modern bridge for sending messages between Objective-C and JavaScript in WKWebView. Include FE and iOS.

Quick Start →

iOS Hybrid WebView

Suppert WKWebView in iOS. Send message between iOS and web pages.

FE JS-Native

Support many ways to send message to iOS app and get callback.

Base Router

Use router to send message, like open an URL on broswer.

sy.system.showModal({
    title: 'SYWebViewBridge',
    content: 'An iOS modern bridge for sending messages between Objective-C and JavaScript in WKWebView.',
    showCancel: true,
    cancelText: 'Cancel',
    confirmText: 'OK',
    success: function(res) {
        if (res.confirm) {
            console.log('Click OK button');
        }
        else {
            console.log('Click Cancel button');
        }
    },
    fail: function(err) {
        console.log(err);
    },
    complete: function(res) {
        console.log(res);
    }
});