Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Casting NavigationPage and Page to native controls?

$
0
0

Hello,
In iOS how can I cast a NavigationPage to a UINavigationController and a Page to a UIViewController?

I want to do something like this:

var custCtl = new MyUIViewController();
var nav = new NavigationPage(custCtl);
custCtl.DataSource.UINavigationController = nav;

Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>