Hi,
I am using below code to access iOS page from Xamarin.Forms using dependency injection. Its rendering the required page, but navigation bar is not shown. How to add nav bar to the inserted iOS page with back button and clicking on back, should navigate back to xamarin.forms page.
In iOS dependency injection:
SyncStatusController syncStatusController = new SyncStatusController ();
var rootController = ((AppDelegate)(UIApplication.SharedApplication.Delegate)).Window.RootViewController;
var navcontroller = rootController as UINavigationController;
if (navcontroller != null)
rootController = navcontroller.VisibleViewController;
rootController.PresentViewController (syncStatusController, true, null);