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); }
protected override void Dispose(bool disposing) { browser = null; base.Dispose(disposing); }
public AnimationCompletedDelegate(InAppBrowser browser) { this.browser = browser; }