support WebView common API on iOS