protected virtual void GalleryButton_TouchUpInside(object sender, EventArgs e) { var galleryStoryBoard = UIStoryboard.FromName(Constants.GalleryStoryboardName, null); var galleryViewController = galleryStoryBoard.InstantiateInitialViewController() as GalleryViewController; ParentNavigationViewController.PushViewController(galleryViewController, true); }
protected void LaunchAnalysisScreen(IList <ImageEntry> imageEntries) { if (!(_analyzingPageStoryBoard.InstantiateInitialViewController() is AnalyzingPageViewController analyzingPageViewController)) { return; } analyzingPageViewController.ImageEntries = imageEntries; if (_photolibraryimagepicker != null) { analyzingPageViewController.CurrentImagePicker = _photolibraryimagepicker; } ParentNavigationViewController.PushViewController(analyzingPageViewController, true); }