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

Get access to NavigationController

$
0
0

Hi

In my AppDelegate i setup the views, but i want to have access to NavigationController... Please advise how i can get the main root view controller / navigation controller?

public override bool FinishedLaunching (UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init ();

            MyApplication.PushRegister = this;
            _theApp = new MyApplication ();
            LoadApplication (_theApp);

            var settings = UIUserNotificationSettings.GetSettingsForTypes (UIUserNotificationType.Sound |
                           UIUserNotificationType.Alert | UIUserNotificationType.Badge, null);

            UIApplication.SharedApplication.RegisterUserNotificationSettings (settings);

            return base.FinishedLaunching (app, options);
        }

Viewing all articles
Browse latest Browse all 58056

Trending Articles



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