示例#1
0
        static void openUrl(String url)
        {
            UIViewController currentController = UIApplication.SharedApplication.KeyWindow.RootViewController;

            while (currentController.PresentedViewController != null)
            {
                currentController = currentController.PresentedViewController;
            }

            UIView currentView = currentController.View;

            InAppBrowser browser = new InAppBrowser(currentView, url, touchForwarder);
        }
示例#2
0
 protected override void Dispose(bool disposing)
 {
     browser = null;
     base.Dispose(disposing);
 }
示例#3
0
 public AnimationCompletedDelegate(InAppBrowser browser)
 {
     this.browser = browser;
 }