Rendering iOS storyboard file in maui

99 Views Asked by At

I am not able to render iOS storyboard file in maui after migration from Xamarin. Where Xib successfully render in maui but storyboard file is rendering anything

            viewControll = new ViewController(infoView);
            pageViewController.DataSource = new PageViewControllerDataSource(viewControll, infoView);
            infoView.CurrentPosition = infoView.LeadListViewModel.LeadData.IndexOf(infoView.CurrentItem);
            var startVC = viewControll.ViewControllerAtIndex(infoView.CurrentPosition) as ContentViewController;
            var viewControllers = new UIViewController[] { startVC };
            pageViewController.SetViewControllers(viewControllers, UIPageViewControllerNavigationDirection.Forward, false, null);
            pageViewController.DidFinishAnimating += PageViewController_DidFinishAnimating;
            infoView.ActivePositions = new System.Collections.Generic.List<int>();
            this.SetNativeControl(pageViewController.View);
0

There are 0 best solutions below