Esempio n. 1
0
        internal static UIWebViewInterface GetInterface(this UIWebView webView, bool create)
        {
            // First, see if we've already created an interface for this webView
            var existing = webView.GetAssociatedObject(UIWebViewInterface.Key) as UIWebViewInterface;

            return(existing ?? (create? new UIWebViewInterface(webView) : null));
        }