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

How to acces the current view UIViewController from an external service

$
0
0

I'm creating a Service in Xamarin.Forms that needs to open a new UI.

For Android I'm using:

        private Context _activity;
        _activity.StartActivity(_authenticator.GetUI(_activity));

For iOS I need to access the current view to use the method PresentViewController();
Is there an equivalent to the Context object for iOS?

Thank you


Viewing all articles
Browse latest Browse all 77050

Trending Articles